Author: ramiro
Date: Sun Aug 24 16:09:35 2008
New Revision: 3580

Log:
Allow non-power-of-two major header intervals.

Modified:
   mlp/mlpenc.c

Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c        (original)
+++ mlp/mlpenc.c        Sun Aug 24 16:09:35 2008
@@ -1711,7 +1711,7 @@ static int mlp_encode_frame(AVCodecConte
         return -1;
     }
 
-    restart_frame = !(avctx->frame_number & (ctx->major_header_interval - 1));
+    restart_frame = !(avctx->frame_number % ctx->major_header_interval);
 
     if (restart_frame) {
         unsigned int index, subblock;
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to