diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-05 23:56:27 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-05 23:56:27 +0000 |
commit | e232c2529e61844890c77c8e6426be233e2e07be (patch) | |
tree | ae182b7a2db1bd789c32cbc57ce01d79d13bf477 /libavformat/metadata.c | |
parent | 272081b0f8617f87168b9730e960a1f88d5557e0 (diff) | |
download | ffmpeg-e232c2529e61844890c77c8e6426be233e2e07be.tar.gz |
add a typedef for AVMetadata
Originally committed as revision 16446 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/metadata.c')
-rw-r--r-- | libavformat/metadata.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/metadata.c b/libavformat/metadata.c index 0bfac393b3..fec80d9822 100644 --- a/libavformat/metadata.c +++ b/libavformat/metadata.c @@ -21,7 +21,7 @@ #include "metadata.h" AVMetadataTag * -av_metadata_get(struct AVMetadata *m, const char *key, const AVMetadataTag *prev, int flags) +av_metadata_get(AVMetadata *m, const char *key, const AVMetadataTag *prev, int flags) { unsigned int i, j; @@ -44,9 +44,9 @@ av_metadata_get(struct AVMetadata *m, const char *key, const AVMetadataTag *prev return NULL; } -int av_metadata_set(struct AVMetadata **pm, AVMetadataTag elem) +int av_metadata_set(AVMetadata **pm, AVMetadataTag elem) { - struct AVMetadata *m= *pm; + AVMetadata *m= *pm; AVMetadataTag *tag= av_metadata_get(m, elem.key, NULL, 0); if(!m) |