[MPlayer-cvslog] r37633 - trunk/gui/util/bitmap.c
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Tue Feb 9 21:13:35 CET 2016
On Tue, Feb 09, 2016 at 12:17:16PM +0100, ib wrote:
> + if (avcodec_open2(avctx, avcodec_find_decoder(AV_CODEC_ID_PNG), NULL) != 0) {
Actually only values < 0 indicate an error according to the
documentation.
So I think it would be better to check for < 0, in cases values
larger 0 will be used for something at some point in the future.
More information about the MPlayer-cvslog
mailing list