[FFmpeg-devel] [PATCH] Make struct AVMetadata really opaque

Nicolas George nicolas.george at normalesup.org
Tue Apr 19 19:59:20 CEST 2011


Hi.

The attached patch move the definition of struct AVMetadata to metadata.c
and introduces av_metadata_get_all for the cases where low-level access is
needed.

It seems to me this necessary in order to be able to move the metadata API
to libavutil (or anywhere else), as metadata_compat.c is
libavformat-specific but uses the internal fields of struct AVMetadata.

The other solution, of course, would be to make struct AVMetadata public.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-struct-AVMetadata-really-opaque.patch
Type: text/x-diff
Size: 8036 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110419/5c62cd23/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110419/5c62cd23/attachment.asc>


More information about the ffmpeg-devel mailing list