# HG changeset patch # User bcoudurier # Date 1154127780 0 # Node ID fcc6f52e2cf189c42cf88610990c8022d030e19d # Parent ad731bdb7365f9fd7914c6bc192ac788216f2d50 remove useless variables diff -r ad731bdb7365 -r fcc6f52e2cf1 mxf.c --- a/mxf.c Fri Jul 28 23:00:53 2006 +0000 +++ b/mxf.c Fri Jul 28 23:03:00 2006 +0000 @@ -91,7 +91,6 @@ UID uid; UID essence_container_ul; UID essence_codec_ul; - enum CodecType codec_type; AVRational sample_rate; AVRational aspect_ratio; int width; @@ -101,7 +100,6 @@ struct MXFDescriptor **sub_descriptors; UID *sub_descriptors_refs; int sub_descriptors_count; - int block_align; int linked_track_id; } MXFDescriptor; @@ -616,7 +614,6 @@ descriptor->linked_track_id = get_be32(pb); break; case 0x3201: /* PictureEssenceCoding */ - descriptor->codec_type = CODEC_TYPE_VIDEO; get_buffer(pb, descriptor->essence_codec_ul, 16); break; case 0x3203: @@ -629,15 +626,11 @@ descriptor->aspect_ratio.num = get_be32(pb); descriptor->aspect_ratio.den = get_be32(pb); break; - case 0x3D0A: - descriptor->block_align = get_be16(pb); - break; case 0x3D03: descriptor->sample_rate.num = get_be32(pb); descriptor->sample_rate.den = get_be32(pb); break; case 0x3D06: /* SoundEssenceCompression */ - descriptor->codec_type = CODEC_TYPE_AUDIO; get_buffer(pb, descriptor->essence_codec_ul, 16); break; case 0x3D07: