mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
qscale==0 is invalid
Originally committed as revision 11539 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
800a5a1905
commit
9ccbc672aa
@ -133,7 +133,7 @@ return -1;
|
|||||||
av_log(s->avctx, AV_LOG_DEBUG, "I7:%X/\n", code);
|
av_log(s->avctx, AV_LOG_DEBUG, "I7:%X/\n", code);
|
||||||
}
|
}
|
||||||
s->chroma_qscale= s->qscale = get_bits(&s->gb, 5);
|
s->chroma_qscale= s->qscale = get_bits(&s->gb, 5);
|
||||||
if(s->qscale < 0)
|
if(s->qscale <= 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user