diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-06 20:59:32 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-08 19:11:17 +0100 |
commit | 60604702cd4b33c3f12bc5eaf8bc11802f5ebe36 (patch) | |
tree | ebb2c672ce1ce9a3979eeff6566ecdf8654daefb /libavcodec/nvdec_mjpeg.c | |
parent | fbbbe73b0f8d8e60c19f70a3955ed8c64dffc82b (diff) | |
download | ffmpeg-60604702cd4b33c3f12bc5eaf8bc11802f5ebe36.tar.gz |
avdevice/iec61883: #if unused code away, fix -O0 compilation
iec61883_parse_queue_hdv() is only called when the mpegts-demuxer
is available and can be optimized away when not. Yet this
optimization is not a given and it fails with e.g. GCC 11 when
using -O0 in which case one will get a compilation error
because the call to the unavailable avpriv_mpegts_parse_packet()
is not optimized away. Therefore #if the offending code away
in this case.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
(cherry picked from commit ad0b4afec57381c74f57dd3f3c65c49cc406c9fd)
Diffstat (limited to 'libavcodec/nvdec_mjpeg.c')
0 files changed, 0 insertions, 0 deletions