mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-02 10:41:16 +00:00
h264: Make Truncating SPS/PPS message debug.
This commit is contained in:
parent
03b82b3ab9
commit
77748d12a0
@ -348,7 +348,7 @@ int ff_h264_decode_seq_parameter_set(GetBitContext *gb, AVCodecContext *avctx,
|
||||
|
||||
sps->data_size = gb->buffer_end - gb->buffer;
|
||||
if (sps->data_size > sizeof(sps->data)) {
|
||||
av_log(avctx, AV_LOG_WARNING, "Truncating likely oversized SPS\n");
|
||||
av_log(avctx, AV_LOG_DEBUG, "Truncating likely oversized SPS\n");
|
||||
sps->data_size = sizeof(sps->data);
|
||||
}
|
||||
memcpy(sps->data, gb->buffer, sps->data_size);
|
||||
@ -745,7 +745,7 @@ int ff_h264_decode_picture_parameter_set(GetBitContext *gb, AVCodecContext *avct
|
||||
|
||||
pps->data_size = gb->buffer_end - gb->buffer;
|
||||
if (pps->data_size > sizeof(pps->data)) {
|
||||
av_log(avctx, AV_LOG_WARNING, "Truncating likely oversized PPS "
|
||||
av_log(avctx, AV_LOG_DEBUG, "Truncating likely oversized PPS "
|
||||
"(%"SIZE_SPECIFIER" > %"SIZE_SPECIFIER")\n",
|
||||
pps->data_size, sizeof(pps->data));
|
||||
pps->data_size = sizeof(pps->data);
|
||||
|
Loading…
Reference in New Issue
Block a user