Michael Niedermayer schrieb: > >> + avctx->coded_frame= &s->picture1; >> > > this is wrong > > Hm, still thinking about that... from the old code point of view, it may make sense to set avctx->coded_frame = s->current_picture, if this is what you want to say. Also, the question about the for-loop is still pending... TB