avformat/lmlm4: add fall-through annotations

This commit is contained in:
Marvin Scholz
2026-02-18 00:13:44 +01:00
parent 346d7f63cb
commit f715db05fa

View File

@@ -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;