mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-22 07:20:45 +00:00
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.
This commit is contained in:
parent
b074424bf6
commit
2c2aaa5bd0
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user