[FFmpeg-devel] [PATCH] Change type to 16 bit.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Tue Apr 22 20:42:50 CEST 2014
The range change checking for < 2^20 indicates that
we are supposed to support larger values than fit
into a 16 bit type.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
---
libavcodec/vorbisdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vorbisdec.c b/libavcodec/vorbisdec.c
index 51f14cc..dee3138 100644
--- a/libavcodec/vorbisdec.c
+++ b/libavcodec/vorbisdec.c
@@ -102,7 +102,7 @@ typedef struct {
uint8_t classbook;
int16_t books[64][8];
uint8_t maxpass;
- uint16_t ptns_to_read;
+ uint32_t ptns_to_read;
uint8_t *classifs;
} vorbis_residue;
--
1.9.2
More information about the ffmpeg-devel
mailing list