Commit 0a141b0e authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/dxa: Support printing picture debug info

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2c25e83b
...@@ -246,6 +246,10 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPac ...@@ -246,6 +246,10 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPac
return AVERROR_UNKNOWN; return AVERROR_UNKNOWN;
} }
} }
if (avctx->debug & FF_DEBUG_PICT_INFO)
av_log(avctx, AV_LOG_DEBUG, "compr:%2d, dsize:%d\n", compr, (int)dsize);
switch(compr){ switch(compr){
case -1: case -1:
frame->key_frame = 0; frame->key_frame = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment