avcodec: Set time_base for audio encoders, too
This is required when encoding audio in libav 0.8, otherwise it will crash due to a division by zero. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> (cherry picked from commit 25fc1243) Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Showing
Please register or sign in to comment