From 2ad38c6e02cc19fa6e7d5e33b8c4f68264f8ae66 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 26 Nov 2014 02:07:57 +0100 Subject: [PATCH] avformat/mxfdec: dont ask for samples with field dominance 0 anymore Based on discussion and patch from "[FFmpeg-devel] [PATCH]Do not ask for mxf samples with unknown field dominance" Signed-off-by: Michael Niedermayer --- libavformat/mxfdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 37d0fae796..bc0a10b542 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -1771,6 +1771,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf) avpriv_request_sample(mxf->fc, "Field dominance %d support", descriptor->field_dominance); + case 0: // we already have many samples with field_dominance == unknown break; } /* Turn field height into frame height. */