Commit 6b38101d authored by Michael Niedermayer's avatar Michael Niedermayer

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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 043c75a9
......@@ -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 = AV_NOPTS_VALUE;
pkt->pos = -1;
/* increment read pointer */
data += len;
size -= len;
......
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