diff options
author | Aman Gupta <aman@tmm1.net> | 2019-08-29 16:00:50 -0700 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2019-09-02 13:46:11 -0700 |
commit | b022d9ba288ad3de321e0835b0aedfd91c2c3064 (patch) | |
tree | daf6532bcc8c5db9a1f648144a7d60952025c4c3 /libavdevice/bktr.c | |
parent | f4eb7d84a7c219eac130750417e4bc2cbbff7b3f (diff) | |
download | ffmpeg-b022d9ba288ad3de321e0835b0aedfd91c2c3064.tar.gz |
avcodec/omx: fix xFramerate calculation
Integer overflow in the Q16 framerate calculation was sending
invalid values to the OMX encoder.
On the RPI4, this manifested as bitrate controls being ignored
on video streams with 60000/1001 framerates. Video streams with
30000/1001 framerates were not affected.
Signed-off-by: Aman Gupta <aman@tmm1.net>
Diffstat (limited to 'libavdevice/bktr.c')
0 files changed, 0 insertions, 0 deletions