diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-07-24 17:29:47 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-07-25 00:42:50 +0200 |
commit | 6b38101df5b2be231d67807e0f520c7d37292cea (patch) | |
tree | 64ba3cac381a1f9630dc5656492da4d1cc4711fe /libavformat | |
parent | 043c75a989a16334cf58099d2fff687dece5444d (diff) | |
download | ffmpeg-streaming-6b38101df5b2be231d67807e0f520c7d37292cea.zip ffmpeg-streaming-6b38101df5b2be231d67807e0f520c7d37292cea.tar.gz |
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>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 5bc79f4..e348fbd 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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; |