Quoting Andreas Cadhalpun (2015-07-02 23:45:46)
> The loop always needs at least 8 bytes for chunk_type and chunk_size.
> If fewer are left, bytestream2_get_le32 just returns 0 without
> reading any bytes, leading to an infinite loop.
> 

Hmm, I'd rather consider this a bug in bytestream2. It seems much saner
and safer to me to set the reader to EOF if reading more than available
is requested.

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to