Commit 766cdc7b authored by michael's avatar michael

set supported pixel formats correctly


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5896 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0ef5a29b
...@@ -1255,6 +1255,7 @@ AVCodec huffyuv_encoder = { ...@@ -1255,6 +1255,7 @@ AVCodec huffyuv_encoder = {
encode_init, encode_init,
encode_frame, encode_frame,
encode_end, encode_end,
.pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV422P, -1},
}; };
AVCodec ffvhuff_encoder = { AVCodec ffvhuff_encoder = {
...@@ -1265,6 +1266,7 @@ AVCodec ffvhuff_encoder = { ...@@ -1265,6 +1266,7 @@ AVCodec ffvhuff_encoder = {
encode_init, encode_init,
encode_frame, encode_frame,
encode_end, encode_end,
.pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, -1},
}; };
#endif //CONFIG_ENCODERS #endif //CONFIG_ENCODERS
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment