Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2019-03-18 22:18:11 +0300
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2019-03-19 22:56:19 +0300
commit90b85ab21fcb2895d4cf25527179ea0fa5f08ec0 (patch)
treec5717806c2f45d54465e06b02f4b255a83f7334a /libavcodec/h2645_parse.c
parent9e62e1a1104bb0d64e604051ffc25004ad748eaf (diff)
h2645_parse: Fix loglevel for NAL header parsing
We don't treat this as an error. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/h2645_parse.c')
-rw-r--r--libavcodec/h2645_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h2645_parse.c b/libavcodec/h2645_parse.c
index 942f2c5d71..24658b3dfa 100644
--- a/libavcodec/h2645_parse.c
+++ b/libavcodec/h2645_parse.c
@@ -499,7 +499,7 @@ int ff_h2645_packet_split(H2645Packet *pkt, const uint8_t *buf, int length,
ret = h264_parse_nal_header(nal, logctx);
if (ret <= 0 || nal->size <= 0 || nal->size_bits <= 0) {
if (ret < 0) {
- av_log(logctx, AV_LOG_ERROR, "Invalid NAL unit %d, skipping.\n",
+ av_log(logctx, AV_LOG_WARNING, "Invalid NAL unit %d, skipping.\n",
nal->type);
}
pkt->nb_nals--;