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
tinfoil patch: accept no widths that are no multiples of 4
Originally committed as revision 4512 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Mike Melanson
20 years ago
parent
3c8c94b403
commit
6b892a4227
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
libavcodec/cyuv.c
+ 3
- 0
libavcodec/cyuv.c
View File
@@ -51,6 +51,9 @@ static int cyuv_decode_init(AVCodecContext *avctx)
s->avctx = avctx;
s->width = avctx->width;
/* width needs to be divisible by 4 for this codec to work */
if (s->width & 0x3)
return -1;
s->height = avctx->height;
avctx->pix_fmt = PIX_FMT_YUV411P;
avctx->has_b_frames = 0;
Write
Preview
Loading…
Cancel
Save