aboutsummaryrefslogtreecommitdiffstats
path: root/libswresample/swresample.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-10-06 01:29:15 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-10-06 01:29:15 +0200
commit6b347f519d5303c56fe21195aeb2a2eb91221061 (patch)
treeeffe30336b5f3cd3064009befde0fef9f6ae7ff9 /libswresample/swresample.c
parentf9fefa499f0af48f47ea73c8ce0b25df0976c315 (diff)
downloadffmpeg-6b347f519d5303c56fe21195aeb2a2eb91221061.tar.gz
swresample/swresample: replace always true if() by av_assert0()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/swresample.c')
-rw-r--r--libswresample/swresample.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswresample/swresample.c b/libswresample/swresample.c
index c325513efa..fc58d43664 100644
--- a/libswresample/swresample.c
+++ b/libswresample/swresample.c
@@ -668,8 +668,8 @@ int swr_convert(struct SwrContext *s, uint8_t *out_arg[SWR_CH_MAX], int out_coun
continue;
}
- if(s->drop_output || !out_arg)
- return 0;
+ av_assert0(s->drop_output);
+ return 0;
}
if(!in_arg){