[FFmpeg-cvslog] r14019 - trunk/libavformat/mtv.c

reimar subversion
Sat Jun 28 10:59:03 CEST 2008


Author: reimar
Date: Sat Jun 28 10:59:02 2008
New Revision: 14019

Log:
Fix pkt->pos to really point at start of packet for mtv audio packets.


Modified:
   trunk/libavformat/mtv.c

Modified: trunk/libavformat/mtv.c
==============================================================================
--- trunk/libavformat/mtv.c	(original)
+++ trunk/libavformat/mtv.c	Sat Jun 28 10:59:02 2008
@@ -148,6 +148,7 @@ static int mtv_read_packet(AVFormatConte
             return AVERROR(EIO);
 
         mtv->audio_packet_count++;
+        pkt->pos -= MTV_AUDIO_PADDING_SIZE;
         pkt->stream_index = AUDIO_SID;
 
     }else




More information about the ffmpeg-cvslog mailing list