aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/vfwcap.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-06-05 13:18:17 +0200
committerAnton Khirnov <anton@khirnov.net>2011-06-05 15:01:36 +0200
commit367732832faaf1bac4ece37cf7fef8c911e16312 (patch)
tree3e3cf5d1809f898f9f25dca63b2e2f8117424bde /libavdevice/vfwcap.c
parentb39b06233dfd69b941a32f29171dfb63abb23c06 (diff)
downloadffmpeg-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/vfwcap.c')
-rw-r--r--libavdevice/vfwcap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c
index 5dd873bdcb..95dd4c34b8 100644
--- a/libavdevice/vfwcap.c
+++ b/libavdevice/vfwcap.c
@@ -234,9 +234,6 @@ static int vfw_read_close(AVFormatContext *s)
pktl = next;
}
- av_freep(&ctx->video_size);
- av_freep(&ctx->framerate);
-
return 0;
}