aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/jfdctint_template.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-08-09 03:19:42 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-04-01 04:31:39 +0200
commitf4190a49ae2a3b17a12eaf75c1e9c3dfdae3e9e3 (patch)
treea2d881a39404033cf734aa72ba01a7ec4383b74c /libavcodec/jfdctint_template.c
parenta500b975a87174f1994cf497892c2529cf42e834 (diff)
downloadffmpeg-f4190a49ae2a3b17a12eaf75c1e9c3dfdae3e9e3.tar.gz
avformat/mux: Only prepare input packet if there is a packet
It is unnecessary to call prepare_input_packet if there is no packet as it doesn't do anything, except when the currently inactive code guarded by !FF_API_COMPUTE_PKT_FIELDS2 || !FF_API_LAVF_AVCTX becomes active: Then attempting to access pkt->stream_index will crash. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/jfdctint_template.c')
0 files changed, 0 insertions, 0 deletions