Re: [FFmpeg-devel] [PATCH 6/6] avformat: add AVFMT_FLAG_FASTSEEK, use it for mp3

2015-04-22 Thread Michael Niedermayer
On Wed, Apr 22, 2015 at 05:27:19PM +0200, wm4 wrote: > On Wed, 22 Apr 2015 17:10:30 +0200 > Nicolas George wrote: > > > Le tridi 3 floréal, an CCXXIII, wm4 a écrit : > > > #define AVFMT_FLAG_KEEP_SIDE_DATA 0x4 ///< Don't merge side data but > > > keep it separate. > > > +#define AVFMT_FLAG_

Re: [FFmpeg-devel] [PATCH 6/6] avformat: add AVFMT_FLAG_FASTSEEK, use it for mp3

2015-04-22 Thread wm4
On Wed, 22 Apr 2015 17:10:30 +0200 Nicolas George wrote: > Le tridi 3 floréal, an CCXXIII, wm4 a écrit : > > #define AVFMT_FLAG_KEEP_SIDE_DATA 0x4 ///< Don't merge side data but > > keep it separate. > > +#define AVFMT_FLAG_FAST_SEEK 0x8 ///< Enable fast, but inaccurate > > seeks for

Re: [FFmpeg-devel] [PATCH 6/6] avformat: add AVFMT_FLAG_FASTSEEK, use it for mp3

2015-04-22 Thread Nicolas George
Le tridi 3 floréal, an CCXXIII, wm4 a écrit : > #define AVFMT_FLAG_KEEP_SIDE_DATA 0x4 ///< Don't merge side data but > keep it separate. > +#define AVFMT_FLAG_FAST_SEEK 0x8 ///< Enable fast, but inaccurate > seeks for some formats Better with the 0, but I suspect it needs a safety gap

[FFmpeg-devel] [PATCH 6/6] avformat: add AVFMT_FLAG_FASTSEEK, use it for mp3

2015-04-22 Thread wm4
--- doc/APIchanges | 4 doc/formats.texi| 2 ++ libavformat/avformat.h | 1 + libavformat/mp3dec.c| 2 +- libavformat/options_table.h | 1 + 5 files changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index b422e29..b65fd