aboutsummaryrefslogtreecommitdiffstats
path: root/RELEASE
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-01-29 18:53:43 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-03 21:36:47 +0100
commite9513052b533e4b528b3a7dddc529ee5bf74dd02 (patch)
treea0bc75e2354cf444b2aa678a9116ec6b41817229 /RELEASE
parent7936cfc157deb19730494d54d32d240cd0394f8e (diff)
downloadffmpeg-e9513052b533e4b528b3a7dddc529ee5bf74dd02.tar.gz
avformat/rtsp: Fix build failure when RTP demuxers are disabled
rtsp.c uses a check of the form "if (CONFIG_RTSP_DEMUXER && ...) {}" with the intent to make the code compilable even though the part guarded by this check contains calls to functions that don't exist when the RTSP demuxer is disabled. Yet even then compilers still need a declaration of all the functions in the dead code block and error out if not (due to our usage of -Werror=implicit-function-declaration) and no such declaration exists for a static function in rtsp.c. Simply adding a declaration leads to a "used but never defined" warning, therefore this commit resorts to an #if. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'RELEASE')
0 files changed, 0 insertions, 0 deletions