summaryrefslogtreecommitdiffstats
path: root/libavformat/rawdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-06-06 03:02:38 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-06-06 03:33:58 +0200
commitf9569249c274ab71b570d6a462903379e9d414fb (patch)
tree0b8f8c4930874a5115f6608a23b55eb2f5be1c34 /libavformat/rawdec.c
parent6700aa8810d877cb017d977f12638481df459eb1 (diff)
parenteb7505e4295dca9c3ab8c01e055a458e07857ef0 (diff)
downloadffmpeg-streaming-f9569249c274ab71b570d6a462903379e9d414fb.zip
ffmpeg-streaming-f9569249c274ab71b570d6a462903379e9d414fb.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: Remove some unused scripts from tools/. Add x86 assembly for some 10-bit H.264 intra predict functions. v4l2: do not force NTSC as standard Skip tableprint.h during 'make checkheaders'. Remove unnecessary LIBAVFORMAT_BUILD #ifdef. Drop explicit filenames from @file Doxygen tags. Skip generated table headers during 'make checkheaders'. lavf,lavc: free avoptions in a generic way. AVOptions: add av_opt_free convenience function. tableprint: Restore mistakenly deleted common.h #include for FF_ARRAY_ELEMS. tiff: print log in case of unknown / unsupported tag. tiff: fix linesize for mono-white/black formats. Fix build of eval-test program configure: Document --enable-vaapi ac3enc: extract all exponents for the frame at once Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rawdec.c')
-rw-r--r--libavformat/rawdec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c
index c70ff49..a4e009b 100644
--- a/libavformat/rawdec.c
+++ b/libavformat/rawdec.c
@@ -102,9 +102,6 @@ int ff_raw_read_header(AVFormatContext *s, AVFormatParameters *ap)
st->codec->height = height;
st->codec->pix_fmt = pix_fmt;
fail:
- av_freep(&s1->video_size);
- av_freep(&s1->pixel_format);
- av_freep(&s1->framerate);
return ret;
}
default:
@@ -183,7 +180,6 @@ int ff_raw_video_read_header(AVFormatContext *s,
av_set_pts_info(st, 64, 1, 1200000);
fail:
- av_freep(&s1->framerate);
return ret;
}
OpenPOWER on IntegriCloud