forked from FFmpeg/FFmpeg
seek-test: free options dictionary after use
This commit is contained in:
parent
8fa97302e0
commit
c12ef64d69
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ int main(int argc, char **argv)
|
|||
filename = argv[1];
|
||||
|
||||
ret = avformat_open_input(&ic, filename, NULL, &format_opts);
|
||||
av_dict_free(&format_opts);
|
||||
if (ret < 0) {
|
||||
fprintf(stderr, "cannot open %s\n", filename);
|
||||
exit(1);
|
||||
|
|
Loading…
Add table
Reference in a new issue