Skip to content

Commit

Permalink
enable compiler warnings for FFmpeg
Browse files Browse the repository at this point in the history
None of the other external libraries have the warnings disabled.

In addition, the MythTV modifications no longer generate any additional warnings.
  • Loading branch information
ulmus-scott committed Dec 23, 2024
1 parent 5b23a4d commit 433e7af
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/embeddedlibs/FindOrBuildFFmpeg.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function(find_or_build_ffmpeg)
--disable-stripping
--disable-static
--enable-shared
--extra-cflags=-w)
)

if(NOT LIBS_INSTALL_PREFIX STREQUAL CMAKE_INSTALL_PREFIX)
list(APPEND FF_ARGS --extra-cflags=-I${LIBS_INSTALL_PREFIX}/include
Expand Down
1 change: 0 additions & 1 deletion mythtv/configure
Original file line number Diff line number Diff line change
Expand Up @@ -6798,7 +6798,6 @@ if enabled lto; then
ffopts="$ffopts --enable-lto"
fi

ffmpeg_extra_cflags="$extra_cflags -w"
if test "$ID" = "raspbian"; then
case $cpu in
armv*) ffmpeg_extra_ldflags="$ffmpeg_extra_libs -latomic" ;;
Expand Down

0 comments on commit 433e7af

Please sign in to comment.