]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/resample2.c
Fix typo in v410 decoder.
[ffmpeg] / libavcodec / resample2.c
index 5fe9924c40941b3ba96ac139d453888a47f3e2c6..f82b405bbaa83cf4130cf4361a9a1d19eb2ca55b 100644 (file)
@@ -25,6 +25,7 @@
  * @author Michael Niedermayer <michaelni@gmx.at>
  */
 
+#include "libavutil/avassert.h"
 #include "avcodec.h"
 #include "dsputil.h"
 
@@ -301,7 +302,7 @@ int av_resample(AVResampleContext *c, short *dst, short *src, int *consumed, int
 
     if(compensation_distance){
         compensation_distance -= dst_index;
-        assert(compensation_distance > 0);
+        av_assert2(compensation_distance > 0);
     }
     if(update_ctx){
         c->frac= frac;