Author: ramiro
Date: Sat Aug 16 16:39:48 2008
New Revision: 3362

Log:
Remove now unneeded temporary variable.

Modified:
   mlp/mlpenc.c

Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c        (original)
+++ mlp/mlpenc.c        Sat Aug 16 16:39:48 2008
@@ -1178,7 +1178,6 @@ static int mlp_encode_frame(AVCodecConte
     uint8_t *buf2, *buf1, *buf0 = buf;
     int total_length = 0;
     unsigned int substr;
-    uint8_t *data0 = data;
     int restart_frame;
 
     ctx->frame_index = avctx->frame_number % ctx->major_header_interval;
@@ -1191,7 +1190,7 @@ static int mlp_encode_frame(AVCodecConte
     }
 
     if (avctx->frame_number < ctx->major_header_interval) {
-        if (data0) {
+        if (data) {
             goto input_and_return;
         } else {
             /* There are less frames than the requested major header interval.
@@ -1259,7 +1258,7 @@ static int mlp_encode_frame(AVCodecConte
 
 input_and_return:
 
-    if (data0) {
+    if (data) {
         ctx->frame_size[ctx->frame_index] = avctx->frame_size;
         ctx->frame_number[ctx->frame_index] = avctx->frame_number;
         input_data(ctx, data);
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to