summaryrefslogtreecommitdiff
path: root/libavcodec/flvdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/flvdec.c')
-rw-r--r--libavcodec/flvdec.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/flvdec.c b/libavcodec/flvdec.c
index f425f00424..ade2f79b6d 100644
--- a/libavcodec/flvdec.c
+++ b/libavcodec/flvdec.c
@@ -132,5 +132,8 @@ AVCodec ff_flv_decoder = {
.decode = ff_h263_decode_frame,
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
.max_lowres = 3,
- .pix_fmts = ff_pixfmt_list_420,
+ .pix_fmts = (const enum AVPixelFormat[]) {
+ AV_PIX_FMT_YUV420P,
+ AV_PIX_FMT_NONE
+ },
};