[FFmpeg-devel] [PATCH] lavc/golomb: Fix UE golomb overwrite issue.
Jun Zhao
mypopydev at gmail.com
Sat May 27 09:27:18 EEST 2017
On 2017/5/26 17:32, Carl Eugen Hoyos wrote:
> 2017-05-26 3:19 GMT+02:00 Jun Zhao <mypopydev at gmail.com>:
>
> Please explain how we can reproduce the issue you want to fix.
>
> Carl Eugen
In h264 Spec, the SPS VUI.hrd.bit_rate_value_minus1 is a ue(v) and
"bit_rate_value_minus1[ SchedSelIdx ] shall be in the range of 0 to 2^32 − 2".
more details in the Spec E.2.2 HRD parameters semantics http://www.itu.int/rec/T-REC-H.264-201610-S/en page 424.
In this case, I think call set_ue_golome() will overwrite the bit stream buffer
when SPS VUI.hrd.bit_rate_value_minus1 >= 2^16.
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
More information about the ffmpeg-devel
mailing list