Commit 6bfb74b4 authored by bcoudurier's avatar bcoudurier

cosmetics: header -> generic

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15065 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c87ae7c9
...@@ -599,7 +599,7 @@ static void mxf_write_multi_descriptor(AVFormatContext *s) ...@@ -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 ...@@ -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 ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment