projects
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move av_find_stream_info() info struct to AVStream to avoid messy (re)allocation
[ffmpeg.git]
/
ffmpeg.c
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
b29d835
..
8519159
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-600,6
+600,7
@@
static int ffmpeg_exit(int ret)
for(j=0;j<s->nb_streams;j++) {
av_metadata_free(&s->streams[j]->metadata);
av_free(s->streams[j]->codec);
+ av_free(s->streams[j]->info);
av_free(s->streams[j]);
}
for(j=0;j<s->nb_programs;j++) {