#14394: Regression when opening file - libroot/posix/malloc exception
(BPrivate::superblock::getBlock():getNumAvailable() = 0)
---------------------------------+------------------------------
Reporter: smallstepforman | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: System/libroot.so | Version: R1/Development
Resolution: | Keywords: malloc exception
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
---------------------------------+------------------------------
Comment (by jackburton):
These are the commits to AVCodecDecoder.cpp and AVFormatReader.cpp within
these revisions:
commit 1d404e45f1a205215f9387dd764aa74cbc205c70 (tag: hrev52222)
Author: JackBurton79 <stefano.ceccherini@xxxxxxxxx>
Date: Tue Aug 14 14:43:30 2018 +0200
ffmpeg plugin: use avformat/codec_free_context() where applicable
commit 3bd0b6ec8105c293cb54e1e22e201ea2cbab5d44 (tag: hrev52206)
Author: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Date: Sat Aug 11 11:59:09 2018 +0200
ffmpeg: do not compute a duration for streaming streams.
Streaming means the stream is endless, so don't compute a duration.
ffmpeg computes an estimation using what it thinks is the file size,
but
is instead some internal buffer size from BAdapterIO.
Fixes second part of #14326.
commit e302fe32cf4b41823a6dc153ce49f2bff70a290b
Author: Barrett17 <b.vitruvio@xxxxxxxxx>
Date: Sat Aug 4 11:36:34 2018 +0200
AVCodecDecoder: Rename fContext to fCodecContext
commit 334b8f3f9c2dbea74ad5f289d0114f47d816619b
Author: Barrett17 <b.vitruvio@xxxxxxxxx>
Date: Fri Aug 3 16:36:30 2018 +0200
ffmpeg: Remove obsolete code
commit af8f2a39a0b49397b951192f8615f8ab95c356ef (tag: hrev52212)
Author: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Date: Sun Aug 12 09:49:36 2018 +0200
ffmpeg: do not compute duration for "mutable size" streams.
Fixes #14326 without breaking other things.
--
Ticket URL: <https://dev.haiku-os.org/ticket/14394#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.