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
This commit is contained in:
Reimar Döffinger 2008-06-28 08:59:02 +00:00
parent 6f557c6a36
commit 34bfe875d5
1 changed files with 1 additions and 0 deletions

View File

@ -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