diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-06-05 13:18:17 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-06-05 15:01:36 +0200 |
commit | 367732832faaf1bac4ece37cf7fef8c911e16312 (patch) | |
tree | 3e3cf5d1809f898f9f25dca63b2e2f8117424bde /libavdevice/bktr.c | |
parent | b39b06233dfd69b941a32f29171dfb63abb23c06 (diff) | |
download | ffmpeg-367732832faaf1bac4ece37cf7fef8c911e16312.tar.gz |
lavf,lavc: free avoptions in a generic way.
It's simpler and less error-prone.
Fixes some memleaks along the way.
Diffstat (limited to 'libavdevice/bktr.c')
-rw-r--r-- | libavdevice/bktr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavdevice/bktr.c b/libavdevice/bktr.c index 6e19a61103..4d3933f4e9 100644 --- a/libavdevice/bktr.c +++ b/libavdevice/bktr.c @@ -320,8 +320,6 @@ static int grab_read_header(AVFormatContext *s1, AVFormatParameters *ap) last_frame_time = 0; out: - av_freep(&s->video_size); - av_freep(&s->framerate); return ret; } |