aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mxf.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-09-29 10:38:27 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-09-29 10:38:27 +0000
commit94c12d458fdc02878e371dcb7e4a8407b925bf8c (patch)
treed6dfb0d4c08348de1d32781a44e7fad05194c48a /libavformat/mxf.c
parent9a630c2532cd02073a16210cb4aa96f6c99ee548 (diff)
downloadffmpeg-94c12d458fdc02878e371dcb7e4a8407b925bf8c.tar.gz
shut up gcc about incompatible pointer type
Originally committed as revision 6378 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mxf.c')
-rw-r--r--libavformat/mxf.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/mxf.c b/libavformat/mxf.c
index 9e63d9fe5b..0d7c1827aa 100644
--- a/libavformat/mxf.c
+++ b/libavformat/mxf.c
@@ -264,7 +264,7 @@ static int mxf_read_metadata_preface(MXFContext *mxf, KLVPacket *klv)
return -1;
mxf->essence_containers_uls = av_malloc(mxf->essence_containers_uls_count * sizeof(UID));
url_fskip(pb, 4); /* useless size of objects, always 16 according to specs */
- get_buffer(pb, mxf->essence_containers_uls, mxf->essence_containers_uls_count * sizeof(UID));
+ get_buffer(pb, (uint8_t *)mxf->essence_containers_uls, mxf->essence_containers_uls_count * sizeof(UID));
break;
default:
url_fskip(pb, size);
@@ -291,7 +291,7 @@ static int mxf_read_metadata_content_storage(MXFContext *mxf, KLVPacket *klv)
return -1;
mxf->packages_refs = av_malloc(mxf->packages_count * sizeof(UID));
url_fskip(pb, 4); /* useless size of objects, always 16 according to specs */
- get_buffer(pb, mxf->packages_refs, mxf->packages_count * sizeof(UID));
+ get_buffer(pb, (uint8_t *)mxf->packages_refs, mxf->packages_count * sizeof(UID));
break;
case 0x1902:
mxf->essence_container_data_sets_count = get_be32(pb);
@@ -299,7 +299,7 @@ static int mxf_read_metadata_content_storage(MXFContext *mxf, KLVPacket *klv)
return -1;
mxf->essence_container_data_sets_refs = av_malloc(mxf->essence_container_data_sets_count * sizeof(UID));
url_fskip(pb, 4); /* useless size of objects, always 16 according to specs */
- get_buffer(pb, mxf->essence_container_data_sets_refs, mxf->essence_container_data_sets_count * sizeof(UID));
+ get_buffer(pb, (uint8_t *)mxf->essence_container_data_sets_refs, mxf->essence_container_data_sets_count * sizeof(UID));
break;
default:
url_fskip(pb, size);
@@ -369,7 +369,7 @@ static int mxf_read_metadata_material_package(MXFContext *mxf, KLVPacket *klv)
return -1;
package->tracks_refs = av_malloc(package->tracks_count * sizeof(UID));
url_fskip(pb, 4); /* useless size of objects, always 16 according to specs */
- get_buffer(pb, package->tracks_refs, package->tracks_count * sizeof(UID));
+ get_buffer(pb, (uint8_t *)package->tracks_refs, package->tracks_count * sizeof(UID));
break;
default:
url_fskip(pb, size);
@@ -444,7 +444,7 @@ static int mxf_read_metadata_sequence(MXFContext *mxf, KLVPacket *klv)
return -1;
sequence->structural_components_refs = av_malloc(sequence->structural_components_count * sizeof(UID));
url_fskip(pb, 4); /* useless size of objects, always 16 according to specs */
- get_buffer(pb, sequence->structural_components_refs, sequence->structural_components_count * sizeof(UID));
+ get_buffer(pb, (uint8_t *)sequence->structural_components_refs, sequence->structural_components_count * sizeof(UID));
break;
default:
url_fskip(pb, size);
@@ -476,7 +476,7 @@ static int mxf_read_metadata_source_package(MXFContext *mxf, KLVPacket *klv)
return -1;
package->tracks_refs = av_malloc(package->tracks_count * sizeof(UID));
url_fskip(pb, 4); /* useless size of objects, always 16 according to specs */
- get_buffer(pb, package->tracks_refs, package->tracks_count * sizeof(UID));
+ get_buffer(pb, (uint8_t *)package->tracks_refs, package->tracks_count * sizeof(UID));
break;
case 0x4401:
/* UMID, only get last 16 bytes */
@@ -516,7 +516,7 @@ static int mxf_read_metadata_multiple_descriptor(MXFContext *mxf, KLVPacket *klv
return -1;
descriptor->sub_descriptors_refs = av_malloc(descriptor->sub_descriptors_count * sizeof(UID));
url_fskip(pb, 4); /* useless size of objects, always 16 according to specs */
- get_buffer(pb, descriptor->sub_descriptors_refs, descriptor->sub_descriptors_count * sizeof(UID));
+ get_buffer(pb, (uint8_t *)descriptor->sub_descriptors_refs, descriptor->sub_descriptors_count * sizeof(UID));
break;
default:
url_fskip(pb, size);