[FFmpeg-cvslog] avformat/mxfdec: dont ask for samples with field dominance 0 anymore

Michael Niedermayer git at videolan.org
Wed Nov 26 02:18:45 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Nov 26 02:07:57 2014 +0100| [2ad38c6e02cc19fa6e7d5e33b8c4f68264f8ae66] | committer: Michael Niedermayer

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2ad38c6e02cc19fa6e7d5e33b8c4f68264f8ae66
---

 libavformat/mxfdec.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index 37d0fae..bc0a10b 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. */



More information about the ffmpeg-cvslog mailing list