Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2016-04-11 20:27:18 +0300
committerTimo Rothenpieler <timo@rothenpieler.org>2016-04-11 22:06:10 +0300
commit901b0f1a219e96d008c801dbd99bb21aae0aea4e (patch)
treeb40a8c96550ccdfd5de26449c4c58f5bab8f50bd /libavformat
parent03d8fee912a4a0a5cab7995d5c604e89bc4455b8 (diff)
avformat/concatdec: Use correct stream count on close
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/concatdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c
index 50d6689413..e3418e18e8 100644
--- a/libavformat/concatdec.c
+++ b/libavformat/concatdec.c
@@ -364,7 +364,7 @@ static int concat_read_close(AVFormatContext *avf)
for (i = 0; i < cat->nb_files; i++) {
av_freep(&cat->files[i].url);
- for (j = 0; j < cat->avf->nb_streams; j++) {
+ for (j = 0; j < cat->files[i].nb_streams; j++) {
if (cat->files[i].streams[j].avctx)
avcodec_free_context(&cat->files[i].streams[j].avctx);
if (cat->files[i].streams[j].bsf)