[FFmpeg-devel] [PATCH] sipr: fall back to setting mode based on bit_rate.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Jan 5 22:27:32 CET 2012


On Thu, Jan 05, 2012 at 09:31:06PM +0100, Michael Niedermayer wrote:
> On Thu, Jan 05, 2012 at 09:04:02PM +0100, Reimar Döffinger wrote:
> > 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.
> > 
> > Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> 
> LGTM

Pushed.


More information about the ffmpeg-devel mailing list