diff options
author | David Conrad <lessen42@gmail.com> | 2007-09-05 00:23:17 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2007-09-05 00:23:17 +0000 |
commit | 801edb42d110bd97a1c2e8549ccde33a35a68a47 (patch) | |
tree | 1d9d48d4377cc853756c0bc0d1f9586fdf49a2ad /libavformat/matroskaenc.c | |
parent | 5034ab90245670768ec4d19e1dab732c7044404b (diff) | |
download | ffmpeg-801edb42d110bd97a1c2e8549ccde33a35a68a47.tar.gz |
Make sure to return a value in functions that return a value
Originally committed as revision 10315 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroskaenc.c')
-rw-r--r-- | libavformat/matroskaenc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index f2b41a36b5..907dea8da8 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -157,6 +157,8 @@ static int put_xiph_codecpriv(ByteIOContext *pb, AVCodecContext *codec) 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(AVFormatContext *s) av_set_pts_info(st, 64, 1, 1000); } end_ebml_master(pb, tracks); + return 0; } static int mkv_write_header(AVFormatContext *s) |