<wallak <at> free.fr> writes: > if(!ap->prealloced_context) > - ic = avformat_alloc_context(); > + { ic = avformat_alloc_context(); if (ic_ptr) *ic_ptr = ic; } Apart from the fact that this really is too far away from the common style here: Wasn't this problem fixed by Reimar a few hours ago? Carl Eugen