projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
ffmpeg
/
libavcodec
/
on2avc.c
diff --git
a/src/third_party/ffmpeg/libavcodec/on2avc.c
b/src/third_party/ffmpeg/libavcodec/on2avc.c
index
ed212f1
..
ab6048b
100644
(file)
--- a/
src/third_party/ffmpeg/libavcodec/on2avc.c
+++ b/
src/third_party/ffmpeg/libavcodec/on2avc.c
@@
-24,7
+24,6
@@
#include "libavutil/float_dsp.h"
#include "avcodec.h"
#include "bytestream.h"
#include "libavutil/float_dsp.h"
#include "avcodec.h"
#include "bytestream.h"
-#include "dsputil.h"
#include "fft.h"
#include "get_bits.h"
#include "golomb.h"
#include "fft.h"
#include "get_bits.h"
#include "golomb.h"
@@
-173,7
+172,7
@@
static int on2avc_decode_band_scales(On2AVCContext *c, GetBitContext *gb)
} else {
scale += get_vlc2(gb, c->scale_diff.table, 9, 3) - 60;
}
} else {
scale += get_vlc2(gb, c->scale_diff.table, 9, 3) - 60;
}
- if (scale < 0 || scale > 12
8
) {
+ if (scale < 0 || scale > 12
7
) {
av_log(c->avctx, AV_LOG_ERROR, "Invalid scale value %d\n",
scale);
return AVERROR_INVALIDDATA;
av_log(c->avctx, AV_LOG_ERROR, "Invalid scale value %d\n",
scale);
return AVERROR_INVALIDDATA;