avformat/avidec: Simplify compile-time check for DV demuxer
1b373b41d9 made it a bit harder to find
out that a call to avpriv_dv_produce_packet is dead when the DV demuxer
is disabled; too hard for GCC on -O0. So simplify the check a bit.
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
a9d23d33a1
commit
d64d30bd25
1 changed files with 1 additions and 1 deletions
|
|
@ -1483,7 +1483,7 @@ resync:
|
|||
}
|
||||
}
|
||||
|
||||
if (dv_demux) {
|
||||
if (CONFIG_DV_DEMUXER && dv_demux) {
|
||||
AVBufferRef *avbuf = pkt->buf;
|
||||
size = avpriv_dv_produce_packet(avi->dv_demux, pkt,
|
||||
pkt->data, pkt->size, pkt->pos);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue