]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/smush.c
matroskaenc: Implement support for ALAC
[ffmpeg] / libavformat / smush.c
index d884cfe9cd50132b3ce1a1b62d8e3c2d72e4bd8e..79e23747c2e00c9279f4ab071ee65ba162175a3b 100644 (file)
@@ -213,6 +213,7 @@ static int smush_read_packet(AVFormatContext *ctx, AVPacket *pkt)
                 return AVERROR(EIO);
 
             pkt->stream_index = smush->audio_stream_index;
+            pkt->flags       |= AV_PKT_FLAG_KEY;
             pkt->duration = AV_RB32(pkt->data);
             if (pkt->duration == 0xFFFFFFFFu)
                 pkt->duration = AV_RB32(pkt->data + 8);