diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-10-18 23:07:18 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-10-18 23:07:18 +0000 |
commit | 7494cac0fd849a1950799e82bc04e8e6dd15cedc (patch) | |
tree | 486df8f5760b6296d559eb09f4fcf731f22c2893 /libavcodec/mpeg12.c | |
parent | d08f4bcbbd6b50387729ef9666de13bbac909945 (diff) | |
download | ffmpeg-7494cac0fd849a1950799e82bc04e8e6dd15cedc.tar.gz |
fix constrained parameters flag
Originally committed as revision 3609 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r-- | libavcodec/mpeg12.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 5a83698efa..a9f5bc49da 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -303,6 +303,7 @@ static void mpeg1_encode_sequence_header(MpegEncContext *s) s->mb_width * s->mb_height <= 396 && s->mb_width * s->mb_height * framerate.num <= framerate.den*396*25 && framerate.num <= framerate.den*30 && + s->avctx->me_range && s->avctx->me_range < 128 && vbv_buffer_size <= 20 && v <= 1856000/400 && s->codec_id == CODEC_ID_MPEG1VIDEO; |