Commit 864e271a authored by reimar's avatar reimar

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14019 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c4298555
...@@ -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