avcodec/mpegvideo_enc: return proper error instead of failing assertion when max...
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 15 Jul 2014 16:49:18 +0000 (18:49 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 15 Jul 2014 17:56:19 +0000 (19:56 +0200)
commit19e5114eaad9631a4a7431a96857a0b03e164717
treeb38e3feee5fb221cfedb2059ceb833988a9a399d
parent01c17b5224ce0c9899a58f639ef6611fe626ef5f
avcodec/mpegvideo_enc: return proper error instead of failing assertion when max rate is not set

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpegvideo_enc.c