[FFmpeg-devel] [PATCH] dvdsubdec: reset buffer size on invalid over-large packets
michaelni at gmx.at
Thu May 28 15:53:43 CEST 2015
On Thu, May 28, 2015 at 02:30:14PM +0200, wm4 wrote:
> Otherwise it will never be reset, and remain "stuck" in this state
> forever. Can happen when seeking: the decoder will receive fragments
> from different file positions, which triggers the condition easily.
> Minor fix: reset this field in append_to_cached_buf() directly. My previous
> patch missed one caller.
> libavcodec/dvdsubdec.c | 1 +
> 1 file changed, 1 insertion(+)
maybe when the buffer is discarded the current packet should be
reconsidered instead of failing and droping the current packet
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The misfortune of the wise is better than the prosperity of the fool.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 181 bytes
Desc: Digital signature
More information about the ffmpeg-devel