diff --git a/libavcodec/fitsenc.c b/libavcodec/fitsenc.c index 12952278ac..86ea11f0c0 100644 --- a/libavcodec/fitsenc.c +++ b/libavcodec/fitsenc.c @@ -104,6 +104,7 @@ static int fits_encode_frame(AVCodecContext *avctx, AVPacket *pkt, bytes_left = padded_data_size - data_size; memset(bytestream, 0, bytes_left); + pkt->flags |= AV_PKT_FLAG_KEY; *got_packet = 1; return 0;