Mercurial > libavcodec.hg
changeset 1291:384110c44dec libavcodec
rgb15 & rgb16 fix
author | michaelni |
---|---|
date | Fri, 30 May 2003 13:27:21 +0000 |
parents | dae280b939ca |
children | f7b3fa4bb7ae |
files | utils.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Fri May 30 01:05:48 2003 +0000 +++ b/utils.c Fri May 30 13:27:21 2003 +0000 @@ -157,8 +157,9 @@ int w, h, pixel_size; avcodec_get_chroma_sub_sample(s->pix_fmt, &h_chroma_shift, &v_chroma_shift); - switch(s->pix_fmt){ + case PIX_FMT_RGB555: + case PIX_FMT_RGB565: case PIX_FMT_YUV422: pixel_size=2; break;