From 4f1e4eae993a22eff4561c7c05f723f6c9ff94b8 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sat, 10 Dec 2011 22:39:43 +0200 Subject: cosmetics: misc minor cleanups The deleted ZRM* things were only relevant to vo_zr, which was deleted earlier. --- libmpcodecs/mp_image.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libmpcodecs/mp_image.c') diff --git a/libmpcodecs/mp_image.c b/libmpcodecs/mp_image.c index 4683f41174..45426eb673 100644 --- a/libmpcodecs/mp_image.c +++ b/libmpcodecs/mp_image.c @@ -99,9 +99,7 @@ void mp_image_setfmt(mp_image_t* mpi,unsigned int out_fmt){ mpi->flags&=~(MP_IMGFLAG_PLANAR|MP_IMGFLAG_YUV|MP_IMGFLAG_SWAPPED); mpi->imgfmt=out_fmt; // compressed formats - if(out_fmt == IMGFMT_MPEGPES || - out_fmt == IMGFMT_ZRMJPEGNI || out_fmt == IMGFMT_ZRMJPEGIT || out_fmt == IMGFMT_ZRMJPEGIB || - IMGFMT_IS_HWACCEL(out_fmt)){ + if(out_fmt == IMGFMT_MPEGPES || IMGFMT_IS_HWACCEL(out_fmt)){ mpi->bpp=0; return; } -- cgit v1.2.3