diff options
author | Paras Chadha <paraschadha18@gmail.com> | 2017-08-29 22:50:33 +0530 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-08-30 12:13:02 +0200 |
commit | df475db9a29e5f3e93dc5f4faa663d30f75ec80b (patch) | |
tree | 100869d1725a9a9a8cf965c7045b1056f7a655d3 /libavformat/img2enc.c | |
parent | 6e02f66f1bc7c9d559bc7ef3393c66cd800d4651 (diff) | |
download | ffmpeg-df475db9a29e5f3e93dc5f4faa663d30f75ec80b.tar.gz |
Add FITS Muxer
Signed-off-by: Paras Chadha <paraschadha18@gmail.com>
Diffstat (limited to 'libavformat/img2enc.c')
-rw-r--r-- | libavformat/img2enc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/img2enc.c b/libavformat/img2enc.c index 1297b1aaba..87b5ec2317 100644 --- a/libavformat/img2enc.c +++ b/libavformat/img2enc.c @@ -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 |