mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-30 22:00:51 +08:00
avformat/lmlm4: add fall-through annotations
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "libavutil/attributes.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
|
||||
#include "avformat.h"
|
||||
@@ -110,6 +111,7 @@ static int lmlm4_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
switch (frame_type) {
|
||||
case LMLM4_I_FRAME:
|
||||
pkt->flags = AV_PKT_FLAG_KEY;
|
||||
av_fallthrough;
|
||||
case LMLM4_P_FRAME:
|
||||
case LMLM4_B_FRAME:
|
||||
pkt->stream_index = 0;
|
||||
|
||||
Reference in New Issue
Block a user