diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-03-13 21:17:05 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-03-13 21:20:12 +0100 |
commit | 6d97484d72e33f7dde9493a9ead1a72e2f029605 (patch) | |
tree | 55dd3090fc63aaf22da92145fe8310cfe0cf9c78 /libavcodec/zmbv.c | |
parent | 1ae07959ab39a96eee6496b418f377f9085ce4a5 (diff) | |
download | ffmpeg-6d97484d72e33f7dde9493a9ead1a72e2f029605.tar.gz |
avcodec: av_log_ask_for_sample() ---> avpriv_request_sample()
Diffstat (limited to 'libavcodec/zmbv.c')
-rw-r--r-- | libavcodec/zmbv.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/libavcodec/zmbv.c b/libavcodec/zmbv.c index 8cf6a0cb5b..0b38926bc8 100644 --- a/libavcodec/zmbv.c +++ b/libavcodec/zmbv.c @@ -432,18 +432,15 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPac "Flags=%X ver=%i.%i comp=%i fmt=%i blk=%ix%i\n", c->flags,hi_ver,lo_ver,c->comp,c->fmt,c->bw,c->bh); if (hi_ver != 0 || lo_ver != 1) { - av_log_ask_for_sample(avctx, "Unsupported version %i.%i\n", - hi_ver, lo_ver); + avpriv_request_sample(avctx, "Version %i.%i", hi_ver, lo_ver); return AVERROR_PATCHWELCOME; } if (c->bw == 0 || c->bh == 0) { - av_log_ask_for_sample(avctx, "Unsupported block size %ix%i\n", - c->bw, c->bh); + avpriv_request_sample(avctx, "Block size %ix%i", c->bw, c->bh); return AVERROR_PATCHWELCOME; } if (c->comp != 0 && c->comp != 1) { - av_log_ask_for_sample(avctx, "Unsupported compression type %i\n", - c->comp); + avpriv_request_sample(avctx, "Compression type %i", c->comp); return AVERROR_PATCHWELCOME; } @@ -474,8 +471,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPac default: c->decode_intra = NULL; c->decode_xor = NULL; - av_log_ask_for_sample(avctx, "Unsupported (for now) format %i\n", - c->fmt); + avpriv_request_sample(avctx, "Format %i", c->fmt); return AVERROR_PATCHWELCOME; } |