Earlier, calling avcodec_encode_audio worked fine even if time_base wasn't set. Now it crashes due to trying to scale the output pts to the codec context time base. This affects e.g. VLC. If no time_base is set for audio codecs, set it to the sample rate. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>pull/3/merge
parent
bca77a1a64
commit
9a7dc618c5
1 changed files with 6 additions and 0 deletions
Loading…
Reference in new issue