Revision d9dee728

View differences:

libavcodec/atrac3.c
186 186
        obuf[i] = c ^ buf[i];
187 187

  
188 188
    if (off)
189
        av_log(NULL,AV_LOG_DEBUG,"Offset of %d not handled, post sample on ffmpeg-dev.\n",off);
189
        av_log_ask_for_sample(NULL, "Offset of %d not handled.\n", off);
190 190

  
191 191
    return off;
192 192
}
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

  
libavcodec/loco.c
248 248
        break;
249 249
    default:
250 250
        l->lossy = AV_RL32(avctx->extradata + 8);
251
        av_log(avctx, AV_LOG_INFO, "This is LOCO codec version %i, please upload file for study\n", version);
251
        av_log_ask_for_sample(avctx, "This is LOCO codec version %i.\n", version);
252 252
    }
253 253

  
254 254
    l->mode = AV_RL32(avctx->extradata + 4);
libavcodec/wnv1.c
96 96
    else {
97 97
        l->shift = 8 - (buf[2] >> 4);
98 98
        if (l->shift > 4) {
99
            av_log(avctx, AV_LOG_ERROR, "Unknown WNV1 frame header value %i, please upload file for study\n", buf[2] >> 4);
99
            av_log_ask_for_sample(avctx, "Unknown WNV1 frame header value %i\n",
100
                                  buf[2] >> 4);
100 101
            l->shift = 4;
101 102
        }
102 103
        if (l->shift < 1) {
103
            av_log(avctx, AV_LOG_ERROR, "Unknown WNV1 frame header value %i, please upload file for study\n", buf[2] >> 4);
104
            av_log_ask_for_sample(avctx, "Unknown WNV1 frame header value %i\n",
105
                                  buf[2] >> 4);
104 106
            l->shift = 1;
105 107
        }
106 108
    }
libavformat/oma.c
107 107
        case OMA_CODECID_ATRAC3:
108 108
            samplerate = srate_tab[(codec_params >> 13) & 7]*100;
109 109
            if (samplerate != 44100)
110
                av_log(s, AV_LOG_ERROR, "Unsupported sample rate, send sample file to developers: %d\n", samplerate);
110
                av_log_ask_for_sample(s, "Unsupported sample rate: %d\n",
111
                                      samplerate);
111 112

  
112 113
            framesize = (codec_params & 0x3FF) * 8;
113 114
            jsflag = (codec_params >> 17) & 1; /* get stereo coding mode, 1 for joint-stereo */

Also available in: Unified diff