mirror of
https://github.com/opencv/opencv.git
synced 2026-11-09 18:04:29 -06:00
Merge pull request #30326 from asmorkalov:as/ffmpeg_8_version
Corrected libavcodec version check to release n8.0
This commit is contained in:
@@ -2296,7 +2296,7 @@ void CvCapture_FFMPEG::get_rotation_angle()
|
||||
#if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(57, 68, 100)
|
||||
const uint8_t *data = 0;
|
||||
// av_stream_get_side_data removed in FFmpeg release 8.0
|
||||
# if (LIBAVCODEC_BUILD < CALC_FFMPEG_VERSION(61, 9, 108))
|
||||
# if (LIBAVCODEC_BUILD < CALC_FFMPEG_VERSION(62, 3, 100))
|
||||
data = av_stream_get_side_data(video_st, AV_PKT_DATA_DISPLAYMATRIX, NULL);
|
||||
# else
|
||||
AVPacketSideData* sd = video_st->codecpar->coded_side_data;
|
||||
|
||||
Reference in New Issue
Block a user