On Tue, Jun 23, 2015 at 07:36:54AM -0700, Philip Langdale wrote: > On Tue, 23 Jun 2015 11:14:36 +0530 > Niklesh Lalwani <niklesh.lalw...@iitb.ac.in> wrote: > > > On 6/23/15, Philip Langdale <phil...@overt.org> wrote: > > > I got a bunch of warnings when I compiled it. Please fix. > > > > > > Thanks. > > > > > > ---------------------------------------------------------- > > > > > > CC libavcodec/movtextenc.o > > > libavcodec/movtextenc.c: In function ‘mov_text_style_cb’: > > > libavcodec/movtextenc.c:124:17: warning: ‘return’ with a value, in > > > function returning void return AVERROR(ENOMEM); > > > ^ > > > libavcodec/movtextenc.c:138:21: warning: ‘return’ with a value, in > > > function returning void return AVERROR(ENOMEM); > > > ^ > > > libavcodec/movtextenc.c:167:13: warning: ‘return’ with a value, in > > > function returning void return AVERROR(ENOMEM); > > > > The function mov_text_style_cb() is a void function, I'll make it int > > funciton to return a value. > > The function signature is fixed by the ASS callback struct - you can't > change it. That means that it has to stay void.
Fortunately, ASSCodesCallbacks is not public API, so this can be changed in a first commit (or postponed and adjusted after this is applied). [...] -- Clément B.
pgpQb3KrukzQS.pgp
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel