[MPlayer-cvslog] r35692 - trunk/libmpcodecs/vf_scale.c
cehoyos
subversion at mplayerhq.hu
Tue Dec 18 01:30:00 CET 2012
Author: cehoyos
Date: Tue Dec 18 01:30:00 2012
New Revision: 35692
Log:
IMGFMT_RGB8 is not a palettised image format.
Modified:
trunk/libmpcodecs/vf_scale.c
Modified: trunk/libmpcodecs/vf_scale.c
==============================================================================
--- trunk/libmpcodecs/vf_scale.c Mon Dec 17 02:34:58 2012 (r35691)
+++ trunk/libmpcodecs/vf_scale.c Tue Dec 18 01:30:00 2012 (r35692)
@@ -220,7 +220,7 @@ static int config(struct vf_instance *vf
return 0;
}
sfmt = imgfmt2pixfmt(outfmt);
- if (outfmt == IMGFMT_RGB8 || outfmt == IMGFMT_BGR8) sfmt = PIX_FMT_PAL8;
+ if (outfmt == IMGFMT_BGR8) sfmt = PIX_FMT_PAL8;
dfmt = imgfmt2pixfmt(best);
vo_flags=vf->next->query_format(vf->next,best);
More information about the MPlayer-cvslog
mailing list