mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
Merge commit '911fa05b514e1be009e00b79d7004b93717c023b'
* commit '911fa05b514e1be009e00b79d7004b93717c023b': mvc: Specify the pixel format for the mv-mvc* tests Conflicts: tests/fate/video.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -52,7 +52,7 @@ static av_cold int mvc_decode_init(AVCodecContext *avctx)
|
||||
return ret;
|
||||
|
||||
avctx->pix_fmt = (avctx->codec_id == AV_CODEC_ID_MVC1) ? AV_PIX_FMT_RGB555
|
||||
: AV_PIX_FMT_BGRA;
|
||||
: AV_PIX_FMT_RGB32;
|
||||
s->frame = av_frame_alloc();
|
||||
if (!s->frame)
|
||||
return AVERROR(ENOMEM);
|
||||
|
||||
Reference in New Issue
Block a user