mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/cavsdec: Fix error message
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
799e128562
commit
c6fcd2ae36
|
@ -505,7 +505,7 @@ static inline int get_ue_code(GetBitContext *gb, int order)
|
||||||
{
|
{
|
||||||
unsigned ret = get_ue_golomb(gb);
|
unsigned ret = get_ue_golomb(gb);
|
||||||
if (ret >= ((1U<<31)>>order)) {
|
if (ret >= ((1U<<31)>>order)) {
|
||||||
av_log(NULL, AV_LOG_ERROR, "get_ue_code: value too larger\n");
|
av_log(NULL, AV_LOG_ERROR, "get_ue_code: value too large\n");
|
||||||
return AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
}
|
}
|
||||||
if (order) {
|
if (order) {
|
||||||
|
|
Loading…
Reference in New Issue