You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
parse_packet: reset pkt->pos after it has been used
This should have no effect as it was not used in this case Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -1184,6 +1184,7 @@ static int parse_packet(AVFormatContext *s, AVPacket *pkt, int stream_index)
|
|||||||
pkt->pts, pkt->dts, pkt->pos);
|
pkt->pts, pkt->dts, pkt->pos);
|
||||||
|
|
||||||
pkt->pts = pkt->dts = AV_NOPTS_VALUE;
|
pkt->pts = pkt->dts = AV_NOPTS_VALUE;
|
||||||
|
pkt->pos = -1;
|
||||||
/* increment read pointer */
|
/* increment read pointer */
|
||||||
data += len;
|
data += len;
|
||||||
size -= len;
|
size -= len;
|
||||||
|
Reference in New Issue
Block a user