---

Probably the second should use EXPLODE.

 libavcodec/proresdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/proresdec.c b/libavcodec/proresdec.c
index db998fa..c65d729 100644
--- a/libavcodec/proresdec.c
+++ b/libavcodec/proresdec.c
@@ -390,7 +390,7 @@ static inline int decode_ac_coeffs(GetBitContext *gb, 
int16_t *out,

         bits_left = get_bits_left(gb);
         if (bits_left <= 0 || (bits_left <= 8 && !show_bits(gb, bits_left)))
-            return AVERROR_INVALIDDATA;
+            return 0;

         run = decode_vlc_codeword(gb, ff_prores_ac_codebook[run_cb_index]);

--
1.8.3.2

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to