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

This reverts commit 11abd055ed.

[ROCm/rocdecode commit: 6317b9f22b]
This commit is contained in:
Aryan Salmanpour
2024-02-28 14:31:07 -05:00
committed by GitHub
parent 11abd055ed
commit 6f80f7e81c
6 changed files with 0 additions and 28 deletions
@@ -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})
set(LINK_LIBRARY_LIST ${LINK_LIBRARY_LIST} ${ROCDECODE_LIBRARY})