]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/wmv2enc.c
alacdec: fix packed sample output with 5.1
[ffmpeg] / libavcodec / wmv2enc.c
index d8c2653fee05f7f556f8e01ca9e295b69f181274..d83723d74612d0f5de6efdd398d310164496b54d 100644 (file)
@@ -85,10 +85,10 @@ int ff_wmv2_encode_picture_header(MpegEncContext * s, int picture_number)
     w->abt_type=0;
     w->j_type=0;
 
-    assert(s->flipflop_rounding);
+    av_assert0(s->flipflop_rounding);
 
     if (s->pict_type == AV_PICTURE_TYPE_I) {
-        assert(s->no_rounding==1);
+        av_assert0(s->no_rounding==1);
         if(w->j_type_bit) put_bits(&s->pb, 1, w->j_type);
 
         if(w->per_mb_rl_bit) put_bits(&s->pb, 1, s->per_mb_rl_table);