Mercurial > libavformat.hg
changeset 2446:b2f9523ee424 libavformat
Make sure to return a value in functions that return a value
author | conrad |
---|---|
date | Wed, 05 Sep 2007 00:23:17 +0000 |
parents | 86466f60fc5d |
children | 54f0053730cf |
files | matroskaenc.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/matroskaenc.c Wed Sep 05 00:23:15 2007 +0000 +++ b/matroskaenc.c Wed Sep 05 00:23:17 2007 +0000 @@ -157,6 +157,8 @@ 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 @@ av_set_pts_info(st, 64, 1, 1000); } end_ebml_master(pb, tracks); + return 0; } static int mkv_write_header(AVFormatContext *s)