summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-11-27 20:20:44 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-11-27 20:20:44 +0000
commitbc7eb330e3d42f6cff3f95432da999bd4538e2e1 (patch)
tree5eba103abfeb431e380541ed32f448b2863c546c /ffmpeg.c
parentf6dcc9370590cc0fba2d766aa8fb0bdfd9ca0bd5 (diff)
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. Originally committed as revision 20634 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 2cb9132c10..86b8049f16 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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) {