Revert "FFMPEG 5.X - Support (#268)" (#269)

This reverts commit 11abd055ed.

[ROCm/rocdecode commit: 6317b9f22b]
Este cometimento está contido em:
Aryan Salmanpour criou e GitHub cometeu 2024-02-28 14:31:07 -05:00
1 ascendente 11abd055ed
cometimento 6f80f7e81c
6 ficheiros modificados
-28

Não existem ficheiros que correspondam à sua pesquisa

-5
Ver ficheiro
@@ -74,11 +74,6 @@ if(HIP_FOUND AND FFMPEG_FOUND AND ROCDECODE_FOUND)
include_directories(${AVUTIL_INCLUDE_DIR} ${AVCODEC_INCLUDE_DIR}
${AVFORMAT_INCLUDE_DIR})
set(LINK_LIBRARY_LIST ${LINK_LIBRARY_LIST} ${FFMPEG_LIBRARIES})
if(_FFMPEG_AVCODEC_VERSION VERSION_LESS_EQUAL 58.54.100)
target_compile_definitions(${PROJECT_NAME} PUBLIC USE_AVCODEC_58_54=0)
else()
target_compile_definitions(${PROJECT_NAME} PUBLIC USE_AVCODEC_58_54=1)
endif()
# rocDecode
include_directories (${ROCDECODE_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/..)
set(LINK_LIBRARY_LIST ${LINK_LIBRARY_LIST} ${ROCDECODE_LIBRARY})