git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03d8fee
)
avformat/concatdec: Use correct stream count on close
author
Timo Rothenpieler
<timo@rothenpieler.org>
Mon, 11 Apr 2016 17:27:18 +0000
(19:27 +0200)
committer
Timo Rothenpieler
<timo@rothenpieler.org>
Mon, 11 Apr 2016 19:06:10 +0000
(21:06 +0200)
libavformat/concatdec.c
patch
|
blob
|
history
diff --git
a/libavformat/concatdec.c
b/libavformat/concatdec.c
index
50d6689
..
e3418e1
100644
(file)
--- 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)