avutil: rename AV_PIX_FMT_Y400A to AV_PIX_FMT_YA8

The rationale is that you have a packed format in form
<greyscale sample> <alpha sample> <greyscale sample> <alpha sample>
and shortening greyscale to 'G' might make one thing about Greenscale instead.
An alias pixel format and color space name are provided for compatibility.
This commit is contained in:
Vittorio Giovara
2014-07-29 14:02:09 +01:00
parent e0d73fda36
commit e96c3b81ca
15 changed files with 29 additions and 21 deletions

View File

@@ -193,7 +193,7 @@ static int pix_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
bytes_pp = 4;
break;
case 18:
avctx->pix_fmt = AV_PIX_FMT_Y400A;
avctx->pix_fmt = AV_PIX_FMT_YA8;
bytes_pp = 2;
break;
default: