• Anton Khirnov's avatar
    rmenc: do not use AVCodecContext.frame_size · 1f008f34
    Anton Khirnov authored
    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.
    1f008f34
rmenc.c 15.8 KB