[FFmpeg-soc] [soc]: r278 - matroska/matroskaenc.c

conrad subversion at mplayerhq.hu
Mon Jun 25 02:23:01 CEST 2007


Author: conrad
Date: Mon Jun 25 02:23:01 2007
New Revision: 278

Log:
Make sure to return a value in functions that return a value

Modified:
   matroska/matroskaenc.c

Modified: matroska/matroskaenc.c
==============================================================================
--- matroska/matroskaenc.c	(original)
+++ matroska/matroskaenc.c	Mon Jun 25 02:23:01 2007
@@ -157,6 +157,8 @@ static int put_xiph_codecpriv(ByteIOCont
     for (j = 0; j < 3; j++)
         put_buffer(pb, header_start[j], header_len[j]);
     end_ebml_master(pb, codecprivate);
+
+    return 0;
 }
 
 static int mkv_write_tracks(AVFormatContext *s)
@@ -245,6 +247,7 @@ static int mkv_write_tracks(AVFormatCont
         av_set_pts_info(st, 64, 1, 1000);
     }
     end_ebml_master(pb, tracks);
+    return 0;
 }
 
 static int mkv_write_header(AVFormatContext *s)



More information about the FFmpeg-soc mailing list