diff options
Diffstat (limited to 'libavcodec/targaenc.c')
-rw-r--r-- | libavcodec/targaenc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/targaenc.c b/libavcodec/targaenc.c index e5d0042ecb..325df46a9f 100644 --- a/libavcodec/targaenc.c +++ b/libavcodec/targaenc.c @@ -113,6 +113,8 @@ static int targa_encode_frame(AVCodecContext *avctx, outbuf[16] = 24; /* bpp */ break; default: + av_log(avctx, AV_LOG_ERROR, "Pixel format '%s' not supported.\n", + avcodec_get_pix_fmt_name(avctx->pix_fmt)); return -1; } bpp = outbuf[16] >> 3; |