Re: [PATCH 2/6] gui: Use new lavc decode API for PNG decode.

Ingo Brückl <[email protected]>
Newsgroups gmane.comp.video.mplayer.devel
Message-ID <[email protected]>
Reimar Döffinger wrote on Thu, 31 Dec 2020 20:17:50 +0100:

> My thinking was that we don't care if send_packet succeeds or not (e.g.
> could it maybe fail if there is some extra garbage data at the end?)

I actually don't know when or if send_packet could fail, and I don't know
wether it is safe to call receive_frame then. I just checked the return code
to be on the safe side. If send_packet errors don't matter, I don't mind not
checking the return code.

Ingo
_______________________________________________
MPlayer-dev-eng mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.