aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/fate
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-01-26 21:37:38 +0200
committerMartin Storsjö <martin@martin.st>2012-01-27 20:52:32 +0200
commit9a7dc618c50902e7a171f2deda6430d52c277a95 (patch)
treeb153b9abee5baf274561e8ef27b52896de55a2ec /tests/ref/fate
parentbca77a1a64a658beb616adcdd59fb3000c7a737b (diff)
downloadffmpeg-9a7dc618c50902e7a171f2deda6430d52c277a95.tar.gz
libavcodec: Don't crash in avcodec_encode_audio if time_base isn't set
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>
Diffstat (limited to 'tests/ref/fate')
0 files changed, 0 insertions, 0 deletions