summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2009-01-04 23:31:31 +0000
committerAurelien Jacobs <aurel@gnuage.org>2009-01-04 23:31:31 +0000
commitbc1d2afb3757ef89d23fd3f91202a3400e3c76da (patch)
tree9fd9057c28449a49854c34cd3e8e4ab550de163f /libavformat/avformat.h
parent27cb5cbc1672a8b9f02cee9d805f2e666775e73b (diff)
rename AVMetaData to AVMetadata and meta_data to metadata
Originally committed as revision 16430 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 3619a8b949..811c7722cc 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -73,9 +73,9 @@ unsigned avformat_version(void);
typedef struct {
char *key;
char *value;
-}AVMetaDataTag;
+}AVMetadataTag;
-struct AVMetaData;
+struct AVMetadata;
/**
* gets a metadata element with matching key.
@@ -83,15 +83,15 @@ struct AVMetaData;
* @param flags allows case as well as suffix insensitive comparissions.
* @return found tag or NULL, changing key or value leads to undefined behavior.
*/
-AVMetaDataTag *
-av_metadata_get(struct AVMetaData *m, const char *key, const AVMetaDataTag *prev, int flags);
+AVMetadataTag *
+av_metadata_get(struct AVMetadata *m, const char *key, const AVMetadataTag *prev, int flags);
/**
* sets the given tag in m, overwriting an existing tag.
* @param tag tag to add to m, key and value will be av_strduped.
* @return >= 0 if success otherwise error code that is <0.
*/
-int av_metadata_set(struct AVMetaData **m, AVMetaDataTag tag);
+int av_metadata_set(struct AVMetadata **m, AVMetadataTag tag);
/* packet functions */
@@ -481,7 +481,7 @@ typedef struct AVStream {
*/
AVRational sample_aspect_ratio;
- struct AVMetaData *meta_data;
+ struct AVMetadata *metadata;
} AVStream;
#define AV_PROGRAM_RUNNING 1
@@ -500,7 +500,7 @@ typedef struct AVProgram {
enum AVDiscard discard; ///< selects which program to discard and which to feed to the caller
unsigned int *stream_index;
unsigned int nb_stream_indexes;
- struct AVMetaData *meta_data;
+ struct AVMetadata *metadata;
} AVProgram;
#define AVFMTCTX_NOHEADER 0x0001 /**< signal that no header is present
@@ -511,7 +511,7 @@ typedef struct AVChapter {
AVRational time_base; ///< time base in which the start/end timestamps are specified
int64_t start, end; ///< chapter start/end time in time_base units
char *title; ///< chapter title
- struct AVMetaData *meta_data;
+ struct AVMetadata *metadata;
} AVChapter;
#define MAX_STREAMS 20
@@ -661,7 +661,7 @@ typedef struct AVFormatContext {
struct AVPacketList *packet_buffer_end;
- struct AVMetaData *meta_data;
+ struct AVMetadata *metadata;
} AVFormatContext;
typedef struct AVPacketList {