Author: ramiro
Date: Tue Aug 19 19:48:09 2008
New Revision: 3470

Log:
Use ctx->major_header_interval instead of hardcoding MAJOR_HEADER_INTERVAL.

Modified:
   mlp/mlpenc.c

Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c        (original)
+++ mlp/mlpenc.c        Tue Aug 19 19:48:09 2008
@@ -1369,7 +1369,7 @@ static int mlp_encode_frame(AVCodecConte
     buf      += 4;
     buf_size -= 4;
 
-    restart_frame = !(avctx->frame_number & (MAJOR_HEADER_INTERVAL - 1));
+    restart_frame = !(avctx->frame_number & (ctx->major_header_interval - 1));
 
     if (restart_frame) {
         if (buf_size < 28)
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to