aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rv10.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-03-17 18:03:47 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-03-23 01:56:58 +0100
commit6f6c0294646bf992abd670d4c5c53c15a38346fd (patch)
tree7ed6dd8e6c4732539bb94a675c88c73c0f799ac9 /libavcodec/rv10.c
parentd5717bc4e9cc253a933ae8130eea3a9c8bc33c0b (diff)
downloadffmpeg-6f6c0294646bf992abd670d4c5c53c15a38346fd.tar.gz
lavc: drop ff_pixfmt_list_420
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r--libavcodec/rv10.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c
index ddaaae1cc6..d0e61f0083 100644
--- a/libavcodec/rv10.c
+++ b/libavcodec/rv10.c
@@ -769,7 +769,10 @@ AVCodec ff_rv10_decoder = {
.close = rv10_decode_end,
.decode = rv10_decode_frame,
.capabilities = CODEC_CAP_DR1,
- .pix_fmts = ff_pixfmt_list_420,
+ .pix_fmts = (const enum AVPixelFormat[]) {
+ AV_PIX_FMT_YUV420P,
+ AV_PIX_FMT_NONE
+ },
};
AVCodec ff_rv20_decoder = {
@@ -783,5 +786,8 @@ AVCodec ff_rv20_decoder = {
.decode = rv10_decode_frame,
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY,
.flush = ff_mpeg_flush,
- .pix_fmts = ff_pixfmt_list_420,
+ .pix_fmts = (const enum AVPixelFormat[]) {
+ AV_PIX_FMT_YUV420P,
+ AV_PIX_FMT_NONE
+ },
};