Skip to content

Commit

Permalink
avformat/fits*: format does not store timestamps
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpl committed May 21, 2023
1 parent 0282370 commit a6068c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions libavformat/fitsdec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
5 changes: 3 additions & 2 deletions libavformat/fitsenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

0 comments on commit a6068c8

Please sign in to comment.