Commit c0d62d99 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/utils: factorize if()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 289f02f9
......@@ -1545,10 +1545,10 @@ static int read_frame_internal(AVFormatContext *s, AVPacket *pkt)
}
st->global_side_data_injected = 1;
}
}
if (ret >= 0 && !(s->flags & AVFMT_FLAG_KEEP_SIDE_DATA))
av_packet_merge_side_data(pkt);
if (!(s->flags & AVFMT_FLAG_KEEP_SIDE_DATA))
av_packet_merge_side_data(pkt);
}
if (s->debug & FF_FDEBUG_TS)
av_log(s, AV_LOG_DEBUG,
......
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