diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-06-15 20:01:07 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-06-22 13:52:01 +0200 |
commit | 3f2be5372e438b1463e6d5b18ff18b0fccdc74cd (patch) | |
tree | 8548d5d56570e715d8e2d78991a4fbf2fe515f05 /libavfilter/vf_transpose_npp.c | |
parent | 05475ad26b3068d0048d5bc11f15c51794dce944 (diff) | |
download | ffmpeg-3f2be5372e438b1463e6d5b18ff18b0fccdc74cd.tar.gz |
avfilter/vf_showpalette: Don't pretend disp_palette can fail
It can't fail, yet it returns an int and other code checks whether it
failed; yet if it did fail, an AVFrame would leak. One could of course
add an av_frame_free for this (that compilers could optimize away), yet
it is easier to simply stop pretending that disp_palette could fail.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavfilter/vf_transpose_npp.c')
0 files changed, 0 insertions, 0 deletions