diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-26 16:26:13 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-29 00:45:17 +0100 |
commit | 1093b402183c17c51678bcbed900e19bc5a9b838 (patch) | |
tree | b800ad57b1bb324f26f94dc7dd84d441cefefef1 /libavcodec/cfhd.c | |
parent | e465cebfeed422b31bc30fc010bc6d21b44cbea3 (diff) | |
download | ffmpeg-1093b402183c17c51678bcbed900e19bc5a9b838.tar.gz |
avcodec/libvpxenc: Only search for side data when intending to use it
Also rewrite the code so that a variable that is only used
depending upon CONFIG_LIBVPX_VP9_ENCODER is not declared
outside of the #if block.
(The variable was declared with av_uninit, but it should have been
av_unused, as the former does not work for all compilers.)
Reviewed-by: James Zern <jzern@google.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/cfhd.c')
0 files changed, 0 insertions, 0 deletions