[FFmpeg-devel] [PATCH] avutil: Add av_get_time_base_q()
Clément Bœsch
u at pkh.me
Wed Apr 23 07:56:05 CEST 2014
On Tue, Apr 22, 2014 at 09:24:09PM +0100, Derek Buitenhuis wrote:
> On 4/21/2014 10:26 PM, Derek Buitenhuis wrote:
> > This fixes usage of AV_TIME_BASE_Q in C++ applications, which
> > cannot use compound literals directly in their code.
> >
> > Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
> > ---
> > doc/APIchanges | 3 +++
> > libavutil/avutil.h | 6 ++++++
> > libavutil/utils.c | 5 +++++
> > libavutil/version.h | 2 +-
> > 4 files changed, 15 insertions(+), 1 deletion(-)
>
> OK'd by Clement on IRC.
>
Note that while this is OK, av_make_q(1, AV_TIME_BASE) is working for them
the same way (No, AV_TIME_BASE is not going to change any time soon).
--
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/20140423/bc47672c/attachment.asc>
More information about the ffmpeg-devel
mailing list