diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-12 15:50:30 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-06-08 12:52:50 +0200 |
commit | 7af1a3cebef6d9654675252f57689d46ac17d1e9 (patch) | |
tree | 2fd05f3cb47df62c43fcb26147b3164e1eadee19 /libavfilter/psnr.h | |
parent | d29541c90aaa2e16d25411ba73f96576da99e0e1 (diff) | |
download | ffmpeg-7af1a3cebef6d9654675252f57689d46ac17d1e9.tar.gz |
avcodec/avcodec: Don't free options on failure in avcodec_open2()
Instead return the dictionary in the state it is at the time the error
occurred. This is more in line with the description of this parameter
and allows to notify the user of unrecognized options if an error
happens lateron (which might very well be due to e.g. misspelled
options).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/psnr.h')
0 files changed, 0 insertions, 0 deletions