[FFmpeg-devel] [PATCH] avformat: add AVFMT_FULLREAD for standalone subtitles formats

Michael Niedermayer michaelni at gmx.at
Fri Oct 24 18:29:41 CEST 2014


On Thu, Oct 23, 2014 at 11:45:19PM +0200, Clément Bœsch wrote:
> ---
> Requested by wm4, who is concerned about opening a thousands of
> subtitles files at once.
> 
> I'm a bit concerned about the fact that the avio is not closed until
> later.
> ---
>  doc/APIchanges               | 5 +++++
>  libavformat/aqtitledec.c     | 1 +
>  libavformat/assdec.c         | 1 +
>  libavformat/avformat.h       | 4 +++-
>  libavformat/jacosubdec.c     | 1 +
>  libavformat/lrcdec.c         | 3 ++-
>  libavformat/microdvddec.c    | 1 +
>  libavformat/mpl2dec.c        | 1 +
>  libavformat/mpsubdec.c       | 1 +
>  libavformat/pjsdec.c         | 1 +
>  libavformat/realtextdec.c    | 1 +
>  libavformat/samidec.c        | 1 +
>  libavformat/srtdec.c         | 1 +
>  libavformat/subviewer1dec.c  | 1 +
>  libavformat/subviewerdec.c   | 1 +
>  libavformat/tedcaptionsdec.c | 1 +
>  libavformat/version.h        | 2 +-
>  libavformat/vplayerdec.c     | 1 +
>  libavformat/webvttdec.c      | 1 +
>  19 files changed, 26 insertions(+), 3 deletions(-)

no objections though it would be better if the avio context was closed
with the file

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141024/14284a76/attachment.asc>


More information about the ffmpeg-devel mailing list