mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-28 05:30:34 +00:00
set supported pixel formats correctly
Originally committed as revision 5896 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
832e6e9071
commit
27dc20a071
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user