mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
give AVInput/OutputFormat structs consistent names
Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -419,7 +419,7 @@ static int audio_read_close(AVFormatContext *s1)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static AVInputFormat audio_in_format = {
|
||||
static AVInputFormat audio_demuxer = {
|
||||
"audio_device",
|
||||
"audio grab and output",
|
||||
sizeof(AudioData),
|
||||
@@ -431,7 +431,7 @@ static AVInputFormat audio_in_format = {
|
||||
AVFMT_NOFILE,
|
||||
};
|
||||
|
||||
AVOutputFormat audio_out_format = {
|
||||
AVOutputFormat audio_muxer = {
|
||||
"audio_device",
|
||||
"audio grab and output",
|
||||
"",
|
||||
@@ -454,8 +454,8 @@ extern "C" {
|
||||
int audio_init(void)
|
||||
{
|
||||
main_thid = find_thread(NULL);
|
||||
av_register_input_format(&audio_in_format);
|
||||
av_register_output_format(&audio_out_format);
|
||||
av_register_input_format(&audio_demuxer);
|
||||
av_register_output_format(&audio_muxer);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user