aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/smacker.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-06-16 07:54:37 +0000
committerMåns Rullgård <mans@mansr.com>2006-06-16 07:54:37 +0000
commita5e9102b4b2c853a75fb46a97968e26e1d8064a3 (patch)
tree1c6484af45517b9cc4b6d673ad68808b34556ac2 /libavformat/smacker.c
parent47dd81c75fb6e7c724bf7bcc147fd931e3b81ee2 (diff)
downloadffmpeg-a5e9102b4b2c853a75fb46a97968e26e1d8064a3.tar.gz
free codec extradata in av_close_input_file
Originally committed as revision 5484 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/smacker.c')
-rw-r--r--libavformat/smacker.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavformat/smacker.c b/libavformat/smacker.c
index 218ae38a76..0c900dc639 100644
--- a/libavformat/smacker.c
+++ b/libavformat/smacker.c
@@ -329,11 +329,6 @@ static int smacker_read_close(AVFormatContext *s)
if(smk->frm_flags)
av_free(smk->frm_flags);
- for(i=0;i<s->nb_streams;i++) {
- AVStream *st = s->streams[i];
- if(st->codec->extradata)
- av_free(st->codec->extradata);
- }
return 0;
}