mirror of https://github.com/FFmpeg/FFmpeg.git
Not all applications (e.g. MPlayer) set block_align, and
when using a different demuxer it might not even be
easily available.
So fall back to selecting mode based on bit rate as before
if block_align has not useful value.
It can't be worse than failing to decode completely.
(cherry picked from commit 1d0d63052b
)
CC: libav-stable@libav.org
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
release/1.0
parent
e52e4fe10d
commit
c54e00610f
1 changed files with 7 additions and 2 deletions
Loading…
Reference in new issue