[FFmpeg-devel] [PATCH 1/4] avformat/mxfenc: pass MXFPackage around instead of type
Tomas Härdin
tjoppen at acc.umu.se
Mon Nov 27 12:00:51 EET 2017
On Sun, 2017-11-26 at 21:42 -0800, Mark Reid wrote:
> ---
> libavformat/mxfenc.c | 99 +++++++++++++++++++++++++++++-------------
> ----------
> 1 file changed, 55 insertions(+), 44 deletions(-)
>
> diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c
> index 035e65ed43..ed6ecbf541 100644
> --- a/libavformat/mxfenc.c
> +++ b/libavformat/mxfenc.c
> @@ -101,6 +101,12 @@ typedef struct MXFContainerEssenceEntry {
> void (*write_desc)(AVFormatContext *, AVStream *);
> } MXFContainerEssenceEntry;
>
> +typedef struct MXFPackage {
> + char *name;
> + enum MXFMetadataSetType type;
> + int instance;
> +} MXFPackage;
> [...]
Looks OK. This would make it easier if someone is crazy enough to
implement the higher op types in the future. I still maintain that
libmxf/bmxlib is better for that however
/Tomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171127/073173bd/attachment.sig>
More information about the ffmpeg-devel
mailing list