Revision d9dee728 libavcodec/cook.c

View differences:

libavcodec/cook.c
1268 1268
    /* Try to catch some obviously faulty streams, othervise it might be exploitable */
1269 1269
    if ((q->samples_per_channel == 256) || (q->samples_per_channel == 512) || (q->samples_per_channel == 1024)) {
1270 1270
    } else {
1271
        av_log(avctx,AV_LOG_ERROR,"unknown amount of samples_per_channel = %d, report sample!\n",q->samples_per_channel);
1271
        av_log_ask_for_sample(avctx,
1272
                              "unknown amount of samples_per_channel = %d\n",
1273
                              q->samples_per_channel);
1272 1274
        return -1;
1273 1275
    }
1274 1276

  

Also available in: Unified diff