--- Begin Message --- Hello to all, I didn't mean to publish this, this was in my drafts and it somehow was sent without me asking to, I ask you to ignore this as I didn't mean to send this

My apologizes

On 6/15/25 6:03 PM, Emma Romano wrote:


---
 libavcodec/vp3.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index 3089499a0f..aff5be6879 100644
--- a/libavcodec/vp3.c
+++ b/libavcodec/vp3.c
@@ -1315,6 +1315,9 @@ static int unpack_dct_coeffs(Vp3DecodeContext *s, GetBitContext *gb)
     dc_y_table = get_bits(gb, 4);
     dc_c_table = get_bits(gb, 4);

+    if(!coeff_vlc)
+      return AVERROR_INVALIDDATA;
+
     /* unpack the Y plane DC coefficients */
     residual_eob_run = unpack_vlcs(s, gb, coeff_vlc[dc_y_table], 0,
                                    0, residual_eob_run);
--
2.48.1


--- End Message ---
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to