mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/336/head
parent
a500b975a8
commit
f4190a49ae
1 changed files with 8 additions and 11 deletions
Loading…
Reference in new issue