aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/rv40.c
diff options
context:
space:
mode:
authorVittorio Giovara2014-03-17 18:03:47 +0100
committerVittorio Giovara2014-03-23 01:56:58 +0100
commit6f6c0294646bf992abd670d4c5c53c15a38346fd (patch)
tree7ed6dd8e6c4732539bb94a675c88c73c0f799ac9 /libavcodec/rv40.c
parentd5717bc4e9cc253a933ae8130eea3a9c8bc33c0b (diff)
lavc: drop ff_pixfmt_list_420
Diffstat (limited to 'libavcodec/rv40.c')
-rw-r--r--libavcodec/rv40.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/rv40.c b/libavcodec/rv40.c
index c9beeca1eb..e5b1821869 100644
--- a/libavcodec/rv40.c
+++ b/libavcodec/rv40.c
@@ -573,7 +573,10 @@ AVCodec ff_rv40_decoder = {
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY |
CODEC_CAP_FRAME_THREADS,
.flush = ff_mpeg_flush,
- .pix_fmts = ff_pixfmt_list_420,
+ .pix_fmts = (const enum AVPixelFormat[]) {
+ AV_PIX_FMT_YUV420P,
+ AV_PIX_FMT_NONE
+ },
.init_thread_copy = ONLY_IF_THREADS_ENABLED(ff_rv34_decode_init_thread_copy),
.update_thread_context = ONLY_IF_THREADS_ENABLED(ff_rv34_decode_update_thread_context),
};