Commit 41c2bbaa authored by Michael Niedermayer's avatar Michael Niedermayer

lavc: use hexadecimal debug print for showing err_recognization values.

They are flags which makes them easier to read as hex than decimal.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b9556507
......@@ -749,7 +749,7 @@ int attribute_align_arg avcodec_open2(AVCodecContext *avctx, AVCodec *codec, AVD
avctx->frame_number = 0;
#if FF_API_ER
av_log(avctx, AV_LOG_DEBUG, "err{or,}_recognition separate: %d; %d\n",
av_log(avctx, AV_LOG_DEBUG, "err{or,}_recognition separate: %d; %X\n",
avctx->error_recognition, avctx->err_recognition);
switch(avctx->error_recognition){
case FF_ER_EXPLODE : avctx->err_recognition |= AV_EF_EXPLODE | AV_EF_COMPLIANT | AV_EF_CAREFUL;
......@@ -760,7 +760,7 @@ int attribute_align_arg avcodec_open2(AVCodecContext *avctx, AVCodec *codec, AVD
case FF_ER_CAREFUL : avctx->err_recognition |= AV_EF_CAREFUL;
}
av_log(avctx, AV_LOG_DEBUG, "err{or,}_recognition combined: %d; %d\n",
av_log(avctx, AV_LOG_DEBUG, "err{or,}_recognition combined: %d; %X\n",
avctx->error_recognition, avctx->err_recognition);
#endif
......
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