aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-08-02 22:48:50 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-08-02 22:48:50 +0000
commit27dc20a0711c30eda026a56b4915ea1a6ed70b68 (patch)
tree91d86b7b94a507276b7ca9237a64e68d081283e2 /libavcodec
parent832e6e90711dbd0cd430d42f2f2af05b9f70cc2a (diff)
downloadffmpeg-27dc20a0711c30eda026a56b4915ea1a6ed70b68.tar.gz
set supported pixel formats correctly
Originally committed as revision 5896 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/huffyuv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/huffyuv.c b/libavcodec/huffyuv.c
index d65943fcc1..d14d584d0f 100644
--- a/libavcodec/huffyuv.c
+++ b/libavcodec/huffyuv.c
@@ -1255,6 +1255,7 @@ AVCodec huffyuv_encoder = {
encode_init,
encode_frame,
encode_end,
+ .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV422P, -1},
};
AVCodec ffvhuff_encoder = {
@@ -1265,6 +1266,7 @@ AVCodec ffvhuff_encoder = {
encode_init,
encode_frame,
encode_end,
+ .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, -1},
};
#endif //CONFIG_ENCODERS