ubuntu24.04 bug fix (#503)

* fix for build errors in ubuntu24.04

* UB24 bug fix
Tá an tiomantas seo le fáil i:
Rajy Rawther údaraithe agus GitHub tiomanta 2025-01-29 17:08:35 -05:00
1 tuismitheoir 5ca75ec203
tiomantas 03c9c407d3
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -573,7 +573,7 @@ int FFMpegVideoDecoder::HandlePictureDisplay(RocdecParserDispInfo *pDispInfo) {
dec_frame.av_frame_ptr = p_av_frame;
dec_frame.pts = p_av_frame->pts;
dec_frame.picture_index = p_av_frame->display_picture_number;
dec_frame.picture_index = -1; //picture_index is not used here since it is handled within FFMpeg decoder
vp_frames_ffmpeg_.push_back(dec_frame);
}
p_dec_frame = vp_frames_ffmpeg_[output_frame_cnt_ - 1].frame_ptr;