Commit 34bfe875 authored by Reimar Döffinger's avatar Reimar Döffinger

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
parent 6f557c6a
...@@ -148,6 +148,7 @@ static int mtv_read_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -148,6 +148,7 @@ static int mtv_read_packet(AVFormatContext *s, AVPacket *pkt)
return AVERROR(EIO); return AVERROR(EIO);
mtv->audio_packet_count++; mtv->audio_packet_count++;
pkt->pos -= MTV_AUDIO_PADDING_SIZE;
pkt->stream_index = AUDIO_SID; pkt->stream_index = AUDIO_SID;
}else }else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment