aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/sndio_enc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-03 01:11:53 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-07 10:22:18 +0100
commit1d5ba34249e2a43976586fcbb1171b03bdcca1e0 (patch)
treea67d101478226bbb3c1e481e98e207beb50e6cbc /libavdevice/sndio_enc.c
parent97fb84d74e9086cbed135486dca70ca8c569449c (diff)
downloadffmpeg-1d5ba34249e2a43976586fcbb1171b03bdcca1e0.tar.gz
avformat/avformat: Remove dead check, write-only assignment
For muxers, the internal AVCodecContext is basically unused except in avformat_transfer_internal_stream_timing_info() (which sets time_base and ticks_per_frame) and av_stream_get_codec_timebase() (a getter for time_base). This makes ticks_per_frame write-only, so don't set it. Also remove an always-false check for the AVCodecContext's codec_tag. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavdevice/sndio_enc.c')
0 files changed, 0 insertions, 0 deletions