forked from FFmpeg/FFmpeg
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:
parent
6f557c6a36
commit
34bfe875d5
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue