[FFmpeg-cvslog] r10315 - trunk/libavformat/matroskaenc.c

conrad subversion
Wed Sep 5 02:23:17 CEST 2007


Author: conrad
Date: Wed Sep  5 02:23:17 2007
New Revision: 10315

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


Modified:
   trunk/libavformat/matroskaenc.c

Modified: trunk/libavformat/matroskaenc.c
==============================================================================
--- trunk/libavformat/matroskaenc.c	(original)
+++ trunk/libavformat/matroskaenc.c	Wed Sep  5 02:23:17 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-cvslog mailing list