This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
set supported pixel formats for a few encoders (fixes crashes with grayscale)
Originally committed as revision 6303 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer
18 years ago
parent
56f68a4112
commit
c3e462a8ca
4 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavcodec/asv1.c
+1
-0
libavcodec/ffv1.c
+1
-0
libavcodec/h261.c
+1
-0
libavcodec/wmv2.c
+ 2
- 0
libavcodec/asv1.c
View File
@@ -632,6 +632,7 @@ AVCodec asv1_encoder = {
encode_init,
encode_frame,
//encode_end,
.pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1},
};
AVCodec asv2_encoder = {
@@ -642,6 +643,7 @@ AVCodec asv2_encoder = {
encode_init,
encode_frame,
//encode_end,
.pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1},
};
#endif //CONFIG_ENCODERS
+ 1
- 0
libavcodec/ffv1.c
View File
@@ -1027,5 +1027,6 @@ AVCodec ffv1_encoder = {
encode_init,
encode_frame,
common_end,
.pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV444P, PIX_FMT_YUV422P, PIX_FMT_YUV411P, PIX_FMT_YUV410P, PIX_FMT_RGBA32, -1},
};
#endif
+ 1
- 0
libavcodec/h261.c
View File
@@ -1026,6 +1026,7 @@ AVCodec h261_encoder = {
MPV_encode_init,
MPV_encode_picture,
MPV_encode_end,
.pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1},
};
#endif
+ 1
- 0
libavcodec/wmv2.c
View File
@@ -848,5 +848,6 @@ AVCodec wmv2_encoder = {
wmv2_encode_init,
MPV_encode_picture,
MPV_encode_end,
.pix_fmts= (enum PixelFormat[]){PIX_FMT_YUVJ420P, -1},
};
#endif
Write
Preview
Loading…
Cancel
Save