fix for build errors in ubuntu24.04 (#501)

This commit is contained in:
Rajy Rawther
2025-01-29 05:40:06 -08:00
committato da GitHub
parent da2491a04c
commit 5ca75ec203
@@ -232,7 +232,7 @@ class FFMpegVideoDecoder: public RocVideoDecoder {
AVCodecContext * dec_context_ = nullptr;
AVPixelFormat decoder_pixel_format_;
#if USE_AVCODEC_GREATER_THAN_58_134
const AVCodec *_decoder = nullptr;
const AVCodec *decoder_ = nullptr;
#else
AVCodec *decoder_ = nullptr;
#endif