On Tue, Apr 26, 2011 at 11:51:50AM +0200, Stefano Sabatini wrote: > reget_buffer is required since apparently the codec needs to be feeded > with the previous frame data. Also remove call to > avctx->release_buffer(), which was preventing reget_buffer() to get > the previous frame data. > > Releasing the frame and using get_buffer() was working only in the case > get_buffer() was returning the old frame data again, and resulting in > playback artifacts otherwise. > > This also set frame->reference to 1, as the frame will be requested > unmodified later so it shouldn't be modified by the application. > > Fix playback of file Clock.avi, trac issue #79.
looks reasonable (but too many useless words in the message above IMO) _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
