[libav-devel] [PATCH 017/264] rmenc: do not use AVCodecContext.frame_size

Luca Barbato lu_zero at gentoo.org
Sun Dec 6 11:36:47 CET 2015


On 06/12/15 10:58, Anton Khirnov wrote:
> It will not be set if the stream codec context is not the encoding
> context. Use av_get_audio_frame_duration() instead, it should work for
> all audio codecs supported by the muxer.
> ---
>  libavformat/rmenc.c | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)

If the codec is not supported it would exit before, patch Ok.



More information about the libav-devel mailing list