summaryrefslogtreecommitdiff
path: root/libavformat/mxfdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-11-26 02:07:57 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-11-26 02:07:57 +0100
commit2ad38c6e02cc19fa6e7d5e33b8c4f68264f8ae66 (patch)
treed59b55327eabfcb5c0ea53b9777ceb2e2f91a605 /libavformat/mxfdec.c
parent4acefd25215a0d0ac6cf65971e73400eaaa5e64e (diff)
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 <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mxfdec.c')
-rw-r--r--libavformat/mxfdec.c1
1 files changed, 1 insertions, 0 deletions
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. */