[FFmpeg-soc] [soc]: r2362 - dvbmuxer/mpegtsenc.c

bcoudurier subversion at mplayerhq.hu
Tue Jun 3 08:01:26 CEST 2008


Author: bcoudurier
Date: Tue Jun  3 08:01:26 2008
New Revision: 2362

Log:
cosmetics, result -> res

Modified:
   dvbmuxer/mpegtsenc.c

Modified: dvbmuxer/mpegtsenc.c
==============================================================================
--- dvbmuxer/mpegtsenc.c	(original)
+++ dvbmuxer/mpegtsenc.c	Tue Jun  3 08:01:26 2008
@@ -655,15 +655,14 @@ static int output_packet(AVFormatContext
     MpegTSWrite *s = ctx->priv_data;
     AVStream *st;
     StreamInfo *stream;
-    int es_size, trailer_size;
-    int result;
+    int es_size, trailer_size, res;
     int best_i= -1;
     int64_t pcr = s->last_pcr;
     PacketDesc *timestamp_packet;
 
-    if((result = ff_pes_find_beststream(ctx, DEFAULT_PES_PAYLOAD_SIZE,
-                                        flush, &pcr, &best_i)) <= 0)
-        return result;
+    if((res = ff_pes_find_beststream(ctx, DEFAULT_PES_PAYLOAD_SIZE,
+                                     flush, &pcr, &best_i)) <= 0)
+        return res;
     assert(best_i >= 0);
 
     st = ctx->streams[best_i];



More information about the FFmpeg-soc mailing list