mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 00:32:31 +00:00
* Add defaults to switch statements
Originally committed as revision 465 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ddceb31d93
commit
ac5e6a5bd7
@ -191,6 +191,8 @@ static int mpeg_mux_init(AVFormatContext *ctx)
|
|||||||
stream->max_buffer_size = 46 * 1024;
|
stream->max_buffer_size = 46 * 1024;
|
||||||
s->video_bound++;
|
s->video_bound++;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
abort();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -226,6 +228,8 @@ static int mpeg_mux_init(AVFormatContext *ctx)
|
|||||||
st->codec.frame_rate,
|
st->codec.frame_rate,
|
||||||
90000 * FRAME_RATE_BASE);
|
90000 * FRAME_RATE_BASE);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
abort();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user