mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-30 12:06:40 +08:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user