[FFmpeg-cvslog] avcodec/vp9dsp: Replace assert by av_assert0()

Michael Niedermayer git at videolan.org
Thu May 7 14:54:49 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu May  7 13:44:54 2015 +0200| [a6153977df6d2498981391469bb018237ab66b42] | committer: Michael Niedermayer

avcodec/vp9dsp: Replace assert by av_assert0()

Reviewed-by: "Ronald S. Bultje" <rsbultje at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a6153977df6d2498981391469bb018237ab66b42
---

 libavcodec/vp9dsp.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/vp9dsp.c b/libavcodec/vp9dsp.c
index d78c453..5ff18b4 100644
--- a/libavcodec/vp9dsp.c
+++ b/libavcodec/vp9dsp.c
@@ -21,6 +21,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "libavutil/avassert.h"
 #include "libavutil/common.h"
 #include "vp9dsp.h"
 
@@ -31,7 +32,7 @@ av_cold void ff_vp9dsp_init(VP9DSPContext *dsp, int bpp)
     } else if (bpp == 10) {
         ff_vp9dsp_init_10(dsp);
     } else {
-        assert(bpp == 12);
+        av_assert0(bpp == 12);
         ff_vp9dsp_init_12(dsp);
     }
 



More information about the ffmpeg-cvslog mailing list