On Tue, 25 Sep 2012, Luca Barbato wrote:
On 09/25/2012 07:53 PM, Luca Barbato wrote:
From: Alexandre Colucci <[email protected]>
Do not use rlelen field for buffer size in init_get_bits, it is
only the size of the data for the first field.
Since it is not reliable, just use the size of the whole buffer.
Additional comments add removal of unused rlelen variable by
Reimar Döffinger.
Signed-off-by: Luca Barbato <[email protected]>
---
libavcodec/xsubdec.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
It fixes the sample and the rationale seems sound. Any opinions?
Seems ok.
// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel