[FFmpeg-devel] [PATCH 3/9] lavf/ffm: store/restore private codec context

Lukasz Marek lukasz.m.luki2 at gmail.com
Tue Nov 11 23:59:32 CET 2014


On 11.11.2014 14:46, Michael Niedermayer wrote:
> the muxer might run in a seperate thread from the encoder, priv_data
> could change while its being accessed, iam not sure if that would
> cause some race here or not

Wouldn't it regard AVCodecContext.variables too?

> Also i dont think its guranteed that priv_data starts with a AVClass

Fixed patch attached

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavf-ffm-store-restore-private-codec-context.patch
Type: text/x-patch
Size: 7512 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141111/b079facd/attachment.bin>


More information about the ffmpeg-devel mailing list