Revision 259a3e70

View differences:

libavcodec/ptx.c
51 51
    bytes_per_pixel = AV_RL16(buf+12) >> 3;
52 52

  
53 53
    if (bytes_per_pixel != 2) {
54
        av_log(avctx, AV_LOG_ERROR, "image format is not rgb15, please report on ffmpeg-users mailing list\n");
54
        av_log_ask_for_sample(avctx, "Image format is not RGB15.\n");
55 55
        return -1;
56 56
    }
57 57

  
58 58
    avctx->pix_fmt = PIX_FMT_RGB555;
59 59

  
60 60
    if (offset != 0x2c)
61
        av_log(avctx, AV_LOG_WARNING, "offset != 0x2c, untested due to lack of sample files\n");
61
        av_log_ask_for_sample(avctx, "offset != 0x2c\n");
62 62

  
63 63
    buf += offset;
64 64

  

Also available in: Unified diff