Commit be6f6fce authored by Clément Bœsch's avatar Clément Bœsch

Merge commit 'cdcfa97d'

* commit 'cdcfa97d':
  libavformat: Fix a faulty api deprecation guard in prepare_input_packet
Merged-by: 's avatarClément Bœsch <u@pkh.me>
parents 0f00eb0e cdcfa97d
......@@ -821,7 +821,7 @@ static int prepare_input_packet(AVFormatContext *s, AVPacket *pkt)
if (ret < 0)
return ret;
#if !FF_API_COMPUTE_PKT_FIELDS2 && FF_API_LAVF_AVCTX
#if !FF_API_COMPUTE_PKT_FIELDS2 || !FF_API_LAVF_AVCTX
/* sanitize the timestamps */
if (!(s->oformat->flags & AVFMT_NOTIMESTAMPS)) {
AVStream *st = s->streams[pkt->stream_index];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment