Make ff_new_chapter() return AVChapter instead of int so its consistant with
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 23 May 2008 13:14:11 +0000 (13:14 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 23 May 2008 13:14:11 +0000 (13:14 +0000)
commit5c37f43a0d2131f292853f0d184acf4ec8dfb99f
tree5ebc16eff5aa639d79f36e875983b8d83c28b2e4
parentfbabf1e94405ba81eaa5f2a1f840920f47caed0c
Make ff_new_chapter() return AVChapter instead of int so its consistant with
av_new_program() and its simpler to set other fields in AVChapter which arent
set by ff_new_chapter().

Originally committed as revision 13262 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/avformat.h
libavformat/matroskadec.c
libavformat/utils.c