aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/hw_decode.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-06 19:21:58 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-08 19:11:17 +0100
commite9b7e781d745c8edbb602799cb765a9d444fe60f (patch)
treeb996f0eb615ca2a8976f9a54390f536843719b8d /doc/examples/hw_decode.c
parent6d2317a611a19435e8f8cb243e0f0dadb2f13817 (diff)
downloadffmpeg-e9b7e781d745c8edbb602799cb765a9d444fe60f.tar.gz
avformat/rtsp: #if unused functions away, fix -O0 compilation
parse_rtsp_message() is only called if the rtsp demuxer is enabled and so it is normally compiled away if said demuxer is disabled. Yet this does not happen when compiling with -O0 and this leads to a linking failure because parse_rtsp_message() calls functions that may not be available if the rtsp demuxer is disabled. Fix this by properly #if'ing the unused functions away. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> (cherry picked from commit aeb5d943c613f50611ca49f5ffbfa8b24820b61d)
Diffstat (limited to 'doc/examples/hw_decode.c')
0 files changed, 0 insertions, 0 deletions