You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
* Add defaults to switch statements
Originally committed as revision 465 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -191,6 +191,8 @@ static int mpeg_mux_init(AVFormatContext *ctx)
|
||||
stream->max_buffer_size = 46 * 1024;
|
||||
s->video_bound++;
|
||||
break;
|
||||
default:
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -226,6 +228,8 @@ static int mpeg_mux_init(AVFormatContext *ctx)
|
||||
st->codec.frame_rate,
|
||||
90000 * FRAME_RATE_BASE);
|
||||
break;
|
||||
default:
|
||||
abort();
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user