Fix AVPacket struct layout — was missing pts/dts fields

The packet layout is buf(8), pts(8), dts(8), data(8), size(4),
stream_index(4). We had buf, data, size, stream_index — reading
the pts timestamp as the data pointer, so every packet was garbage.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
rolandnsharp
2026-04-05 19:56:02 +10:00
parent 9599855766
commit 666af905f3
635 changed files with 42 additions and 20 deletions

13
diag.tape Normal file
View File

@@ -0,0 +1,13 @@
Output diag.png
Set Shell "bash"
Set FontSize 14
Set Width 800
Set Height 600
Set Theme "Dracula"
Type "./osc"
Enter
Sleep 5s
Type "q"
Sleep 2s