On Sun, 27 May 2018, Tomas Härdin wrote:
> sön 2018-05-27 klockan 21:21 +0200 skrev Marton Balint:
> > > Signed-off-by: Marton Balint <c...@passwd.hu>
> >
> > ---
> > libavformat/mxfdec.c | 5 ++++-
> > 1 file changed, 4 insertions(+), 1 deletion(-)
> >
> > diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
> > index a62021b0d7..df97d6438f 100644
> > --- a/libavformat/mxfdec.c
> > +++ b/libavformat/mxfdec.c
> > @@ -1278,11 +1278,13 @@ static const MXFCodecUL
mxf_sound_essence_container_uls[] = {
> > };
> >
> > static const MXFCodecUL mxf_data_essence_container_uls[] = {
> > - { {
0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x09,0x0d,0x01,0x03,0x01,0x02,0x0e,0x00,0x00 },
16, 0 },
> > + { {
0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x09,0x0d,0x01,0x03,0x01,0x02,0x0d,0x00,0x00 },
16, AV_CODEC_ID_NONE },
> > + { {
0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x09,0x0d,0x01,0x03,0x01,0x02,0x0e,0x00,0x00 },
16, AV_CODEC_ID_NONE },
> > { {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 },
0, AV_CODEC_ID_NONE },
> > };
> >
> > static const char * const mxf_data_essence_descriptor[] = {
> > + "vbi_smpte_436M",
> > "vbi_vanc_smpte_436M",
> > };
>
> Should this really be added at the top of the array?
Yeah, following existing style, I tried to keep the container_uls in
numeric order, and the descriptor names must be in the same order as the
essence_container_uls:
... 0d is MXFGCGenericVBIDataMappingUndefinedPayload (this is the new)
... 0e is MXFGCGenericANCDataMappingUndefinedPayload