[FFmpeg-devel] [PATCH] H.264: fix decoding of plain still images (broken since revision 14289)
Reimar Döffinger
Reimar.Doeffinger
Mon Jan 5 23:35:03 CET 2009
On Mon, Jan 05, 2009 at 11:15:22PM +0100, Reinhard Nissl wrote:
> Some thoughts about the change: actually, it pulls just one
> picture from delayed_pics when a sequence end has been detected.
> One could go on and implement that for consecutive calls no bytes
> are consumed until all delayed_pics have been drained. This is
> similar to calling decode with a zero sized buffer, but works in
> the case where for example two or more sequences have simply been
> catted together but separated by a sequence end code. Finally,
> idr() should be called too to initialize the decoder into a state
> where a next sequence which doesn't start with an idr can be
> properly decoded.
If this change is considered correct/acceptable, at least MPEG-2 should
be changed in the same way.
More information about the ffmpeg-devel
mailing list