mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-03 05:13:44 +00:00
resample_template: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
58e4adb6f7
commit
6e6dd9995b
@ -93,7 +93,7 @@ int RENAME(swri_resample)(ResampleContext *c, DELEM *dst, const DELEM *src, int
|
|||||||
|
|
||||||
if(compensation_distance){
|
if(compensation_distance){
|
||||||
compensation_distance -= dst_index;
|
compensation_distance -= dst_index;
|
||||||
assert(compensation_distance > 0);
|
av_assert1(compensation_distance > 0);
|
||||||
}
|
}
|
||||||
if(update_ctx){
|
if(update_ctx){
|
||||||
c->frac= frac;
|
c->frac= frac;
|
||||||
|
Loading…
Reference in New Issue
Block a user