Am Sa., 10. Aug. 2019 um 16:59 Uhr schrieb <[email protected]>: > > From: Limin Wang <[email protected]> > > Signed-off-by: Limin Wang <[email protected]> > --- > libavformat/dump.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/libavformat/dump.c b/libavformat/dump.c > index 1c44656..d3c0299 100644 > --- a/libavformat/dump.c > +++ b/libavformat/dump.c > @@ -328,6 +328,11 @@ static void dump_cpb(void *ctx, AVPacketSideData *sd) > > static void dump_mastering_display_metadata(void *ctx, AVPacketSideData* sd) > { > AVMasteringDisplayMetadata* metadata = > (AVMasteringDisplayMetadata*)sd->data; > + > + if (sd->size < sizeof(*metadata)) { > + av_log(ctx, AV_LOG_INFO, "invalid data");
Why is this AV_LOG_INFO and not WARNING or ERROR? Carl Eugen _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
