]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/img2enc.c
ffplay: zero initialize copy avpacket
[ffmpeg] / libavformat / img2enc.c
index 1297b1aaba5f8966c1a6469c122f08d0f6a422f9..87b5ec231737dc6169d02166319aeb5a5e5959cb 100644 (file)
@@ -62,6 +62,8 @@ static int write_header(AVFormatContext *s)
 
     if (st->codecpar->codec_id == AV_CODEC_ID_GIF) {
         img->muxer = "gif";
+    } else if (st->codecpar->codec_id == AV_CODEC_ID_FITS) {
+        img->muxer = "fits";
     } else if (st->codecpar->codec_id == AV_CODEC_ID_RAWVIDEO) {
         const char *str = strrchr(img->path, '.');
         img->split_planes =     str