diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2008-01-02 17:17:56 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2008-01-02 17:17:56 +0000 |
commit | e299727441baa061b5a66b1189cabe7e68b06393 (patch) | |
tree | d0d6f10be8f5e020daa6c904aef4aabb4cd125d3 /libavformat/matroskadec.c | |
parent | 920d36097309211ac2b6bc3d16cda0132913d521 (diff) | |
download | ffmpeg-streaming-e299727441baa061b5a66b1189cabe7e68b06393.zip ffmpeg-streaming-e299727441baa061b5a66b1189cabe7e68b06393.tar.gz |
move num_packets=0 where it belongs
Originally committed as revision 11373 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r-- | libavformat/matroskadec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index f738115..ccf636b 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -858,6 +858,7 @@ matroska_clear_queue (MatroskaDemuxContext *matroska) } av_free(matroska->packets); matroska->packets = NULL; + matroska->num_packets = 0; } } @@ -2675,7 +2676,6 @@ matroska_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, url_fseek(s->pb, st->index_entries[index].pos, SEEK_SET); matroska->skip_to_keyframe = !(flags & AVSEEK_FLAG_ANY); matroska->skip_to_stream = st; - matroska->num_packets = 0; matroska->peek_id = 0; return 0; } |