mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-08 22:39:44 +02:00
avprobe: do not call avio_close() on a custom context
avio_close() can only be called on AVIOContexts created by avio_open(2).
This commit is contained in:
parent
dc6527ed90
commit
5efd91284e
@ -1025,7 +1025,8 @@ int main(int argc, char **argv)
|
|||||||
ret = probe_file(input_filename);
|
ret = probe_file(input_filename);
|
||||||
probe_footer();
|
probe_footer();
|
||||||
avio_flush(probe_out);
|
avio_flush(probe_out);
|
||||||
avio_close(probe_out);
|
av_freep(&probe_out);
|
||||||
|
av_freep(&buffer);
|
||||||
|
|
||||||
avformat_network_deinit();
|
avformat_network_deinit();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user