[FFmpeg-soc] [soc]: r3470 - mlp/mlpenc.c
ramiro
subversion at mplayerhq.hu
Tue Aug 19 19:48:09 CEST 2008
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)
More information about the FFmpeg-soc
mailing list