Browse Source

resample_template: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Michael Niedermayer 13 years ago
parent
commit
6e6dd9995b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libswresample/resample_template.c

+ 1
- 1
libswresample/resample_template.c View File

@@ -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…
Cancel
Save