Merge commit 'cdcfa97dc4'
* commit 'cdcfa97dc4':
libavformat: Fix a faulty api deprecation guard in prepare_input_packet
Merged-by: Clément Bœsch <u@pkh.me>
This commit is contained in:
commit
be6f6fce2e
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue