diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-30 06:18:46 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-02-03 22:59:00 +0400 |
commit | d106679fb5261914ef92ad8aa01baa80e9911a57 (patch) | |
tree | 2df12a52a5e33777fffcd01bae07d3a09a28ed2f /libavcodec/qdm2.c | |
parent | ccfd8cffe867d534447dbc5beb96ff39e65e2791 (diff) |
qdm2: disable superblocktype_2_3==0 code
The code is untested and contained bugs, we need a sample if any files
use this branch.
Suggested-by: Roberto Togni
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/qdm2.c')
-rw-r--r-- | libavcodec/qdm2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c index 9bc0720140..4deea07baf 100644 --- a/libavcodec/qdm2.c +++ b/libavcodec/qdm2.c @@ -649,7 +649,8 @@ static void fill_coding_method_array (sb_int8_array tone_level_idx, sb_int8_arra if (!superblocktype_2_3) { /* This case is untested, no samples available */ - SAMPLES_NEEDED + av_log_ask_for_sample(NULL, "!superblocktype_2_3"); + return; for (ch = 0; ch < nb_channels; ch++) for (sb = 0; sb < 30; sb++) { for (j = 1; j < 63; j++) { // The loop only iterates to 63 so the code doesn't overflow the buffer |