test/avcenc: Fix the incorrect parameter setting for SPS under CBR mode
authorZhao Yakui <yakui.zhao@intel.com>
Wed, 16 Apr 2014 04:17:24 +0000 (12:17 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Mon, 8 Sep 2014 17:18:54 +0000 (01:18 +0800)
commitf47cb0027cdf7bc21a3d7bed595af102dddbb3a9
tree090ae54db0fc3073180b368dff02049acbf7cfd6
parentd7e33a9ce16440c10ba96bf3b47f0f8a4ae43167
test/avcenc: Fix the incorrect parameter setting for SPS under CBR mode

Currently the parameter setting is incorrect for CBR, which causes that
it will complain the underflow/overflow during encoding.

V1->V2: Follow Haihao's comment to update some incorrect usage about the
frame_bit_rate.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 5e10a246287fa2dd3fae2bf756a5b33087cc097c)
test/encode/avcenc.c