[FFmpeg-cvslog] wmaenc: change another assert to av_assert

Michael Niedermayer git at videolan.org
Sat Jun 30 20:48:27 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jun 30 19:36:38 2012 +0200| [e704ab3d5f390c3ee07762b84eab55bf6fb7aca1] | committer: Michael Niedermayer

wmaenc: change another assert to av_assert

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/wmaenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/wmaenc.c b/libavcodec/wmaenc.c
index 7fb8479..93522af 100644
--- a/libavcodec/wmaenc.c
+++ b/libavcodec/wmaenc.c
@@ -336,7 +336,7 @@ static int encode_frame(WMACodecContext *s, float (*src_coefs)[BLOCK_MAX_SIZE],
     init_put_bits(&s->pb, buf, buf_size);
 
     if (s->use_bit_reservoir) {
-        assert(0);//FIXME not implemented
+        av_assert0(0);//FIXME not implemented
     }else{
         if(encode_block(s, src_coefs, total_gain) < 0)
             return INT_MAX;



More information about the ffmpeg-cvslog mailing list