changeset 3531:296caaa22429 libavformat

Fix pkt->pos to really point at start of packet for mtv audio packets.
author reimar
date Sat, 28 Jun 2008 08:59:02 +0000
parents a997151117a2
children a741556d452c
files mtv.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mtv.c	Sat Jun 28 04:54:39 2008 +0000
+++ b/mtv.c	Sat Jun 28 08:59:02 2008 +0000
@@ -148,6 +148,7 @@
             return AVERROR(EIO);
 
         mtv->audio_packet_count++;
+        pkt->pos -= MTV_AUDIO_PADDING_SIZE;
         pkt->stream_index = AUDIO_SID;
 
     }else