[FFmpeg-soc] [soc]: r3534 - mlp/mlpenc.c
ramiro
subversion at mplayerhq.hu
Fri Aug 22 19:53:21 CEST 2008
Author: ramiro
Date: Fri Aug 22 19:53:21 2008
New Revision: 3534
Log:
Don't calculate intermediate total_length since it's not used at that point.
Modified:
mlp/mlpenc.c
Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c (original)
+++ mlp/mlpenc.c Fri Aug 22 19:53:21 2008
@@ -1557,11 +1557,9 @@ static unsigned int write_access_unit(ML
buf2 = buf;
- total_length = buf - buf0;
-
buf = write_substrs(ctx, buf, buf_size, restart_frame, substream_data_len);
- total_length += buf - buf2;
+ total_length = buf - buf0;
write_frame_headers(ctx, buf0, buf1, total_length / 2, substream_data_len);
More information about the FFmpeg-soc
mailing list