diff options
author | Andreas Cadhalpun <[email protected]> | 2015-04-28 00:30:51 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2015-04-28 03:21:12 +0200 |
commit | 464c49155ce7ffc88ed39eb2511e7a75565c24be (patch) | |
tree | fbe25083835f99eb459c6b4a3549152648f921ad /libavcodec/rangecoder.c | |
parent | 8ca170a78ab6e50f44d27d8a6b4ad7ba1ed81f0c (diff) |
apedec: set s->samples only when init_frame_decoder succeeded
Otherwise range_start_decoding is not necessarily run and thus
ctx->rc.range still 0 in range_dec_normalize leading to an infinite
loop.
Signed-off-by: Andreas Cadhalpun <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavcodec/rangecoder.c')
0 files changed, 0 insertions, 0 deletions