aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memset.c
diff options
context:
space:
mode:
authorMichael Tretter <[email protected]>2021-09-08 14:03:51 +0100
committerMauro Carvalho Chehab <[email protected]>2021-10-20 15:58:38 +0100
commit89091e12464ace837bb72c5d20173c069481afd2 (patch)
treee357c4f74e6c58e435bcce6075a7e343a9034593 /lib/test_fortify/write_overflow-memset.c
parentc0a3753c5a608399a3e0de8a1f405d1197143c6b (diff)
media: allegro: correctly scale the bit rate in SPS
The bit rate in the SPS can be scaled by an exponent, which allows to reduce the number of bits in the SPS in case of high bit rates. The driver did not scale the bitrate, but used a scaling exponent of 0. Fix this by properly calculating the scaling factor and writing the bit rate as value and scaling factor into the SPS. Signed-off-by: Michael Tretter <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memset.c')
0 files changed, 0 insertions, 0 deletions