Re: [FFmpeg-devel] [PATCH] avcodec: Use get_ue_golomb_long() when needed

2015-12-29 Thread Michael Niedermayer
On Mon, Dec 28, 2015 at 11:04:08PM -0800, Mark Harris wrote: > get_ue_golomb() cannot decode values larger than 8190 (the maximum > value that can be golomb encoded in 25 bits) and produces the error > "Invalid UE golomb code" if a larger value is encountered. Use > get_ue_golomb_long() instead (w

[FFmpeg-devel] [PATCH] avcodec: Use get_ue_golomb_long() when needed

2015-12-28 Thread Mark Harris
get_ue_golomb() cannot decode values larger than 8190 (the maximum value that can be golomb encoded in 25 bits) and produces the error "Invalid UE golomb code" if a larger value is encountered. Use get_ue_golomb_long() instead (which supports 63 bits, up to 4294967294) when valid h264/hevc values