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:
authorGavin Smith <gcs584-at-yahoo.com@ffmpeg.org>2022-08-05 02:03:38 +0300
committerTomas Härdin <git@haerdin.se>2022-10-06 11:23:39 +0300
commit2c2aaa5bd055a84856225171a260641c72e68d99 (patch)
tree1a425f1a4326151dfdf4979dafc189aa70ad597a /libavformat
parentb074424bf6f8501e805b1b56ed31d8e3cf50faed (diff)
avformat/mxfdec: do not log warning of multiple ANC packets if count is 0
Some NLVEs may insert a KLV packet for EIA-608 data even though the number of encapsulated ANC packets is zero.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mxfdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index b1ab90f25f..e6118e141d 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -521,7 +521,7 @@ static int mxf_get_eia608_packet(AVFormatContext *s, AVStream *st, AVPacket *pkt
int did, sdid, data_length;
int i, ret;
- if (count != 1)
+ if (count > 1)
av_log(s, AV_LOG_WARNING, "unsupported multiple ANC packets (%d) per KLV packet\n", count);
for (i = 0; i < count; i++) {