[FFmpeg-devel] [PATCH 1/2] lavf: move srtdec:read_chunk() to subtitles utils.

Clément Bœsch ubitux at gmail.com
Sun Dec 30 23:14:56 CET 2012


On Sun, Dec 30, 2012 at 03:27:55AM +0100, Michael Niedermayer wrote:
[...]
> > diff --git a/libavformat/subtitles.h b/libavformat/subtitles.h
> > index 55e6182..eb76192 100644
> > --- a/libavformat/subtitles.h
> > +++ b/libavformat/subtitles.h
> > @@ -81,4 +81,19 @@ int ff_smil_extract_next_chunk(AVIOContext *pb, AVBPrint *buf, char *c);
> >   */
> >  const char *ff_smil_get_attr_ptr(const char *s, const char *attr);
> >  
> > +/**
> > + * @brief Read a subtitles chunk.
> > + *
> > + * A chunk is defined by a multiline "event", ending with a second line break.
> > + * The trailing line breaks are trimmed. CLRF are supported.
> 
> CRLF ?
> 

Oups yes, and I forgot to fix before pushing… Fixed on top, sorry

> should be ok otherwise
> 

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121230/bea5257c/attachment.asc>


More information about the ffmpeg-devel mailing list