ffmpeg decode utility class cleanup (#616)

* cleaned up ffmpeg decode utility class to use rocdecode host lib

* added changelog for the PR

* address review comments for FFMPEG dependancy in cmake

* Update CHANGELOG.md

Co-authored-by: spolifroni-amd <Sandra.Polifroni@amd.com>

* addressed review comments

* update version in Cmake

---------

Co-authored-by: spolifroni-amd <Sandra.Polifroni@amd.com>
This commit is contained in:
Rajy Rawther
2025-07-28 06:59:47 -07:00
committed by GitHub
parent 91044fc832
commit 3b280ac7c3
7 changed files with 105 additions and 484 deletions
@@ -341,7 +341,8 @@ int AvcodecVideoDecoder::DecodeAvFrame(AVPacket *av_pkt, AVFrame *p_frame) {
//send packet to av_codec
status = avcodec_send_packet(dec_context_, av_pkt);
if (status < 0) {
ERR("Error sending av packet for decoding: status: ");
if (av_pkt->data && av_pkt->size)
ERR("Error sending av packet for decoding: status: ");
return status;
}
while (status >= 0) {