1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2026-05-16 08:38:24 +02:00

lavf,lavc: free avoptions in a generic way.

It's simpler and less error-prone.

Fixes some memleaks along the way.
This commit is contained in:
Anton Khirnov
2011-06-05 13:18:17 +02:00
parent b39b06233d
commit 367732832f
10 changed files with 9 additions and 21 deletions
-3
View File
@@ -234,9 +234,6 @@ static int vfw_read_close(AVFormatContext *s)
pktl = next;
}
av_freep(&ctx->video_size);
av_freep(&ctx->framerate);
return 0;
}