[FFmpeg-cvslog] r20634 - trunk/ffmpeg.c
michael
subversion
Fri Nov 27 21:20:45 CET 2009
Author: michael
Date: Fri Nov 27 21:20:44 2009
New Revision: 20634
Log:
Remove "frame size must be a multiple of 2" check.
This check only caught explicitly set sizes from the cmd line and overriding
the users wish seems silly, especially as it seems to work.
Modified:
trunk/ffmpeg.c
Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c Fri Nov 27 20:36:18 2009 (r20633)
+++ trunk/ffmpeg.c Fri Nov 27 21:20:44 2009 (r20634)
@@ -2486,10 +2486,6 @@ static void opt_frame_size(const char *a
fprintf(stderr, "Incorrect frame size\n");
av_exit(1);
}
- if ((frame_width % 2) != 0 || (frame_height % 2) != 0) {
- fprintf(stderr, "Frame size must be a multiple of 2\n");
- av_exit(1);
- }
}
static void opt_pad_color(const char *arg) {
More information about the ffmpeg-cvslog
mailing list