Created
April 11, 2016 17:18
-
-
Save BtbN/3c5f8c5cb437530706b6c40cb050bd17 to your computer and use it in GitHub Desktop.
stdin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c | |
index 50d6689..e3418e1 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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment