avcodec: only set min/maxrate if rc-buffer-size is set
authorIlkka Ollakka <ileoo@videolan.org>
Wed, 24 Oct 2012 20:58:49 +0000 (23:58 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Wed, 24 Oct 2012 20:59:42 +0000 (23:59 +0300)
commit50a0ceae0ffa535512c5fd8e0952f277b1732458
tree916987a0d5e27a299d6df30079bc634c13e869ac
parentf41ea01243bcdba5a92e02b3693895fa88d8d701
avcodec: only set min/maxrate if rc-buffer-size is set
modules/codec/avcodec/encoder.c