aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2023-05-21 20:58:37 +0200
committerPaul B Mahol <onemda@gmail.com>2023-05-21 20:59:23 +0200
commita6068c8700d16e31a2c036adb8516c66428ae267 (patch)
treea23576c7d7f32e03946e7f21453757ff77c5d46f
parent02823703f4753e10e7de14124d003d3fc23d7f39 (diff)
downloadffmpeg-a6068c8700d16e31a2c036adb8516c66428ae267.tar.gz
avformat/fits*: format does not store timestamps
-rw-r--r--libavformat/fitsdec.c1
-rw-r--r--libavformat/fitsenc.c5
2 files changed, 4 insertions, 2 deletions
diff --git a/libavformat/fitsdec.c b/libavformat/fitsdec.c
index 516579669f..e0f502e4e3 100644
--- a/libavformat/fitsdec.c
+++ b/libavformat/fitsdec.c
@@ -228,4 +228,5 @@ const AVInputFormat ff_fits_demuxer = {
.read_header = fits_read_header,
.read_packet = fits_read_packet,
.priv_class = &fits_demuxer_class,
+ .flags = AVFMT_NOTIMESTAMPS,
};
diff --git a/libavformat/fitsenc.c b/libavformat/fitsenc.c
index 90bb71fd17..14a4572f70 100644
--- a/libavformat/fitsenc.c
+++ b/libavformat/fitsenc.c
@@ -199,6 +199,7 @@ const FFOutputFormat ff_fits_muxer = {
.p.audio_codec = AV_CODEC_ID_NONE,
.p.video_codec = AV_CODEC_ID_FITS,
.priv_data_size = sizeof(FITSContext),
- .write_header = fits_write_header,
- .write_packet = fits_write_packet,
+ .write_header = fits_write_header,
+ .write_packet = fits_write_packet,
+ .p.flags = AVFMT_NOTIMESTAMPS,
};