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);
 
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to