Revision d9dee728 libavcodec/wnv1.c

View differences:

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
    }

Also available in: Unified diff