[FFmpeg-devel] [PATCH] avutil: Add av_get_time_base_q()

Derek Buitenhuis derek.buitenhuis at gmail.com
Tue Apr 22 22:24:09 CEST 2014


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.

- Derek


More information about the ffmpeg-devel mailing list