mirror of https://git.ffmpeg.org/ffmpeg.git
remove useless variables
Originally committed as revision 5840 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e076173f67
commit
834bff48cb
|
@ -91,7 +91,6 @@ typedef struct MXFDescriptor {
|
||||||
UID uid;
|
UID uid;
|
||||||
UID essence_container_ul;
|
UID essence_container_ul;
|
||||||
UID essence_codec_ul;
|
UID essence_codec_ul;
|
||||||
enum CodecType codec_type;
|
|
||||||
AVRational sample_rate;
|
AVRational sample_rate;
|
||||||
AVRational aspect_ratio;
|
AVRational aspect_ratio;
|
||||||
int width;
|
int width;
|
||||||
|
@ -101,7 +100,6 @@ typedef struct MXFDescriptor {
|
||||||
struct MXFDescriptor **sub_descriptors;
|
struct MXFDescriptor **sub_descriptors;
|
||||||
UID *sub_descriptors_refs;
|
UID *sub_descriptors_refs;
|
||||||
int sub_descriptors_count;
|
int sub_descriptors_count;
|
||||||
int block_align;
|
|
||||||
int linked_track_id;
|
int linked_track_id;
|
||||||
} MXFDescriptor;
|
} MXFDescriptor;
|
||||||
|
|
||||||
|
@ -616,7 +614,6 @@ static int mxf_read_metadata_generic_descriptor(MXFContext *mxf, KLVPacket *klv)
|
||||||
descriptor->linked_track_id = get_be32(pb);
|
descriptor->linked_track_id = get_be32(pb);
|
||||||
break;
|
break;
|
||||||
case 0x3201: /* PictureEssenceCoding */
|
case 0x3201: /* PictureEssenceCoding */
|
||||||
descriptor->codec_type = CODEC_TYPE_VIDEO;
|
|
||||||
get_buffer(pb, descriptor->essence_codec_ul, 16);
|
get_buffer(pb, descriptor->essence_codec_ul, 16);
|
||||||
break;
|
break;
|
||||||
case 0x3203:
|
case 0x3203:
|
||||||
|
@ -629,15 +626,11 @@ static int mxf_read_metadata_generic_descriptor(MXFContext *mxf, KLVPacket *klv)
|
||||||
descriptor->aspect_ratio.num = get_be32(pb);
|
descriptor->aspect_ratio.num = get_be32(pb);
|
||||||
descriptor->aspect_ratio.den = get_be32(pb);
|
descriptor->aspect_ratio.den = get_be32(pb);
|
||||||
break;
|
break;
|
||||||
case 0x3D0A:
|
|
||||||
descriptor->block_align = get_be16(pb);
|
|
||||||
break;
|
|
||||||
case 0x3D03:
|
case 0x3D03:
|
||||||
descriptor->sample_rate.num = get_be32(pb);
|
descriptor->sample_rate.num = get_be32(pb);
|
||||||
descriptor->sample_rate.den = get_be32(pb);
|
descriptor->sample_rate.den = get_be32(pb);
|
||||||
break;
|
break;
|
||||||
case 0x3D06: /* SoundEssenceCompression */
|
case 0x3D06: /* SoundEssenceCompression */
|
||||||
descriptor->codec_type = CODEC_TYPE_AUDIO;
|
|
||||||
get_buffer(pb, descriptor->essence_codec_ul, 16);
|
get_buffer(pb, descriptor->essence_codec_ul, 16);
|
||||||
break;
|
break;
|
||||||
case 0x3D07:
|
case 0x3D07:
|
||||||
|
|
Loading…
Reference in New Issue