[FFmpeg-devel] [PATCH] avoid crashes if input stream size changes without using -r

Måns Rullgård mans
Mon Jul 6 11:28:38 CEST 2009


Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:

> On Mon, Jul 06, 2009 at 05:30:56AM +0200, Michael Niedermayer wrote:
>> On Sun, Jul 05, 2009 at 01:45:45PM +0200, Reimar D?ffinger wrote:
>> > I don't know why, but currently FFmpeg only checks for an input stream
>> > size change when it is using resizing.
>> 
>> id guess, the idea might have been to allow size changes on the encoder
>> side too when supported (trivial for intra only codecs)
>
> The code for that isn't there though (rawenc with the current code could
> already handle that fine), FFmpeg never gives the encoder the slightest
> hint that the resolution changed (avctx width/height stay at the
> original values)...

Then we should fix that.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list