aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-01-15 01:04:43 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-01-15 01:04:43 +0000
commit975c88e30e7c2141dd088ef2b404ba7381120ba6 (patch)
tree4617534c0e5a20b4396c8621ba0ad885c7e2c35d
parent96b103086e91a235ac50743635160571e26ff8ad (diff)
downloadffmpeg-975c88e30e7c2141dd088ef2b404ba7381120ba6.tar.gz
cosmetics, function -> metadata
Originally committed as revision 7526 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/mxf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/mxf.c b/libavformat/mxf.c
index 869aed910b..5dd8f25803 100644
--- a/libavformat/mxf.c
+++ b/libavformat/mxf.c
@@ -814,7 +814,7 @@ static int mxf_read_header(AVFormatContext *s, AVFormatParameters *ap)
url_fseek(&s->pb, -14, SEEK_CUR);
mxf->fc = s;
while (!url_feof(&s->pb)) {
- const MXFMetadataReadTableEntry *function;
+ const MXFMetadataReadTableEntry *metadata;
if (klv_read_packet(&klv, &s->pb) < 0) {
av_log(s, AV_LOG_ERROR, "error reading KLV packet\n");
@@ -829,16 +829,16 @@ static int mxf_read_header(AVFormatContext *s, AVFormatParameters *ap)
break;
}
- for (function = mxf_metadata_read_table; function->read; function++) {
- if (IS_KLV_KEY(klv.key, function->key)) {
- if (mxf_read_local_tags(mxf, &klv, function->read, function->ctx_size, function->type) < 0) {
+ for (metadata = mxf_metadata_read_table; metadata->read; metadata++) {
+ if (IS_KLV_KEY(klv.key, metadata->key)) {
+ if (mxf_read_local_tags(mxf, &klv, metadata->read, metadata->ctx_size, metadata->type) < 0) {
av_log(s, AV_LOG_ERROR, "error reading header metadata\n");
return -1;
}
break;
}
}
- if (!function->read)
+ if (!metadata->read)
url_fskip(&s->pb, klv.length);
}
return mxf_parse_structural_metadata(mxf);