aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-04-17 23:42:10 +0200
committerDiego Biurrun <diego@biurrun.de>2011-04-18 09:41:02 +0200
commit259a3e70ed828d85f0e588f90e73350a923c9cbc (patch)
tree9a0fa060a2aa0be67767a345ab4c1b207d16c77f /libavcodec
parentfd0c3403f611d31b944216cfa1585a2d28f7f0da (diff)
downloadffmpeg-259a3e70ed828d85f0e588f90e73350a923c9cbc.tar.gz
ptx: Use av_log_ask_for_sample() where appropriate.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/ptx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ptx.c b/libavcodec/ptx.c
index fb8b0d82cc..94f16565a6 100644
--- a/libavcodec/ptx.c
+++ b/libavcodec/ptx.c
@@ -51,14 +51,14 @@ static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
bytes_per_pixel = AV_RL16(buf+12) >> 3;
if (bytes_per_pixel != 2) {
- av_log(avctx, AV_LOG_ERROR, "image format is not rgb15, please report on ffmpeg-users mailing list\n");
+ av_log_ask_for_sample(avctx, "Image format is not RGB15.\n");
return -1;
}
avctx->pix_fmt = PIX_FMT_RGB555;
if (offset != 0x2c)
- av_log(avctx, AV_LOG_WARNING, "offset != 0x2c, untested due to lack of sample files\n");
+ av_log_ask_for_sample(avctx, "offset != 0x2c\n");
buf += offset;