Skip to content

ffmpeg: check for existence of avcodec_end_packet

Cory Quammen requested to merge cory.quammen/vtk:ffmpeg-video-source-fix into master

vtkFFMPEGVideoSource requires functions in FFPMEG 3.1 or greater. This commit adds a CMake compilation test that checks for one of these functions in FFMPEG, and if it isn't available, the class and its test are not added to the build.

Merge request reports