mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-30 12:56:44 +08:00
cosmetics: header -> generic
Originally committed as revision 15065 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -599,7 +599,7 @@ static void mxf_write_multi_descriptor(AVFormatContext *s)
|
|||||||
mxf_write_uuid(pb, SubDescriptor, i);
|
mxf_write_uuid(pb, SubDescriptor, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void mxf_write_header_desc(ByteIOContext *pb, const MXFDescriptorWriteTableEntry *desc_tbl, AVStream *st)
|
static void mxf_write_generic_desc(ByteIOContext *pb, const MXFDescriptorWriteTableEntry *desc_tbl, AVStream *st)
|
||||||
{
|
{
|
||||||
const MXFCodecUL *codec_ul;
|
const MXFCodecUL *codec_ul;
|
||||||
|
|
||||||
@ -627,7 +627,7 @@ static void mxf_write_mpegvideo_desc(AVFormatContext *s, const MXFDescriptorWrit
|
|||||||
AVStream *st;
|
AVStream *st;
|
||||||
|
|
||||||
st = s->streams[stream_index];
|
st = s->streams[stream_index];
|
||||||
mxf_write_header_desc(pb, desc_tbl, st);
|
mxf_write_generic_desc(pb, desc_tbl, st);
|
||||||
|
|
||||||
mxf_write_local_tag(pb, 4, 0x3203);
|
mxf_write_local_tag(pb, 4, 0x3203);
|
||||||
put_be32(pb, st->codec->width);
|
put_be32(pb, st->codec->width);
|
||||||
@ -650,7 +650,7 @@ static void mxf_write_wav_desc(AVFormatContext *s, const MXFDescriptorWriteTable
|
|||||||
AVStream *st;
|
AVStream *st;
|
||||||
|
|
||||||
st = s->streams[stream_index];
|
st = s->streams[stream_index];
|
||||||
mxf_write_header_desc(pb, desc_tbl, st);
|
mxf_write_generic_desc(pb, desc_tbl, st);
|
||||||
|
|
||||||
// write audio sampling rate
|
// write audio sampling rate
|
||||||
mxf_write_local_tag(pb, 8, 0x3D03);
|
mxf_write_local_tag(pb, 8, 0x3D03);
|
||||||
|
Reference in New Issue
Block a user