From 34bfe875d51b138abe8f5537c90d5ab2c9366312 Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Sat, 28 Jun 2008 08:59:02 +0000 Subject: Fix pkt->pos to really point at start of packet for mtv audio packets. Originally committed as revision 14019 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mtv.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/mtv.c') diff --git a/libavformat/mtv.c b/libavformat/mtv.c index 557846f6eb..7f99bd65bd 100644 --- a/libavformat/mtv.c +++ b/libavformat/mtv.c @@ -148,6 +148,7 @@ static int mtv_read_packet(AVFormatContext *s, AVPacket *pkt) return AVERROR(EIO); mtv->audio_packet_count++; + pkt->pos -= MTV_AUDIO_PADDING_SIZE; pkt->stream_index = AUDIO_SID; }else -- cgit v1.2.3