diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-03 02:57:52 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-07 10:22:18 +0100 |
commit | 569ad285a5c241e10a387fbfa13275e8fb90b979 (patch) | |
tree | 0cf9d935722176bfcf5e187dcd80b0e1a3c7a320 /libswscale/gamma.c | |
parent | 76ef2b9337cf8d2cc7666b7bf8c5a870c373ade1 (diff) | |
download | ffmpeg-569ad285a5c241e10a387fbfa13275e8fb90b979.tar.gz |
avformat/options: Only allocate AVCodecContext for demuxers
The muxer's AVCodecContext is currently used for exactly one thing:
To store a time base in it that has been derived via heuristics
in avformat_transfer_internal_stream_timing_info(); said time base
can then be read back via av_stream_get_codec_timebase().
But one does not need a whole AVCodecContext for that, a simple
AVRational is enough.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libswscale/gamma.c')
0 files changed, 0 insertions, 0 deletions