avformat/flvenc: add fall-through annotations
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "libavutil/attributes.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "libavutil/dict.h"
|
||||
#include "libavutil/intfloat.h"
|
||||
@@ -185,6 +186,7 @@ static int get_audio_flags(AVFormatContext *s, AVCodecParameters *par)
|
||||
flags |= FLV_SAMPLERATE_SPECIAL;
|
||||
break;
|
||||
}
|
||||
av_fallthrough;
|
||||
default:
|
||||
error:
|
||||
av_log(s, AV_LOG_ERROR,
|
||||
|
||||
Reference in New Issue
Block a user