1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

h264: log extradata skip only for non-ignored NALs

Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
Vittorio Giovara 2013-09-20 15:42:41 +02:00 committed by Anton Khirnov
parent 26179964ff
commit edaba18021

View File

@ -4559,8 +4559,11 @@ again:
(h->avctx->active_thread_type & FF_THREAD_FRAME) && (h->avctx->active_thread_type & FF_THREAD_FRAME) &&
(hx->nal_unit_type != NAL_PPS && (hx->nal_unit_type != NAL_PPS &&
hx->nal_unit_type != NAL_SPS)) { hx->nal_unit_type != NAL_SPS)) {
av_log(avctx, AV_LOG_INFO, "Ignoring NAL unit %d during " if (hx->nal_unit_type < NAL_AUD ||
"extradata parsing\n", hx->nal_unit_type); hx->nal_unit_type > NAL_AUXILIARY_SLICE)
av_log(avctx, AV_LOG_INFO,
"Ignoring NAL unit %d during extradata parsing\n",
hx->nal_unit_type);
hx->nal_unit_type = NAL_FF_IGNORE; hx->nal_unit_type = NAL_FF_IGNORE;
} }
err = 0; err = 0;