You've already forked FFmpeg
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:
@@ -234,9 +234,6 @@ static int vfw_read_close(AVFormatContext *s)
|
||||
pktl = next;
|
||||
}
|
||||
|
||||
av_freep(&ctx->video_size);
|
||||
av_freep(&ctx->framerate);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user