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 19, 2024
1 parent 3609638 commit a709196
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 @@ -6800,7 +6800,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 a709196

Please sign in to comment.