Skip to content
Snippets Groups Projects
Commit c54e0061 authored by Reimar Döffinger's avatar Reimar Döffinger Committed by Reinhard Tartler
Browse files

sipr: fall back to setting mode based on bit_rate.


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 1d0d6305)

CC: libav-stable@libav.org
Signed-off-by: default avatarReinhard Tartler <siretart@tauware.de>
parent e52e4fe1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment