Fixes ticket #11427
Signed-off-by: James Almer <[email protected]>
---
It may be a good idea to ensure the timeout fuzzer case doesn't regress
after this.
libavcodec/vorbisdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vorbisdec.c b/libavcodec/vorbisdec.c
index 218e855f7a..321408723d 100644
--- a/libavcodec/vorbisdec.c
+++ b/libavcodec/vorbisdec.c
@@ -1470,7 +1470,7 @@ static av_always_inline int
vorbis_residue_decode_internal(vorbis_context *vc,
vorbis_codebook codebook = vc->codebooks[vqbook];
if (get_bits_left(gb) <= 0)
- return AVERROR_INVALIDDATA;
+ return 0;
if (vr_type == 0) {
--
2.48.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".