[FFmpeg-devel] [PATCH 1/2] avcodec/error_resilience: Avoid race with updating the error_count
Michael Niedermayer
michaelni at gmx.at
Sun Apr 5 14:04:18 CEST 2015
On Sat, Apr 04, 2015 at 04:56:47PM +0100, Derek Buitenhuis wrote:
> On 4/4/2015 11:36 AM, Michael Niedermayer wrote:
> > Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> > ---
> > libavcodec/error_resilience.c | 13 +++++++------
> > libavcodec/error_resilience.h | 3 ++-
> > 2 files changed, 9 insertions(+), 7 deletions(-)
>
> I assume there are no matching races for reading error count?
the other accesses should be seperated in time (like init and readout
after decode) except one debug av_log() reading it
>
> Seems reasonable otherwise.
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150405/20ed63ac/attachment.asc>
More information about the ffmpeg-devel
mailing list