Commit fe60ec64 authored by michael's avatar michael

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.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20634 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5573367a
......@@ -2486,10 +2486,6 @@ static void opt_frame_size(const char *arg)
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) {
......
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