xavs: Do not try to set the bitrate tolerance without a bitrate
authorLuca Barbato <lu_zero@gentoo.org>
Sun, 23 Aug 2015 15:57:21 +0000 (17:57 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 23 Aug 2015 19:44:38 +0000 (21:44 +0200)
commit167ea1fbf15ecefa30729f9b8d091ed431bf43bd
treedca8399e20948bc743d95b7bce8459ea12c405c9
parent61d8fa2a1ab76f0f3ac1442faa104ace4b29decc
xavs: Do not try to set the bitrate tolerance without a bitrate

Avoid a division by zero.

Bug-Id: CID 1257655
libavcodec/libxavs.c