[Ffmpeg-devel] FFmpeg API Discrepancies

Roman Shaposhnik rvs
Tue Jan 9 03:26:40 CET 2007


On Mon, 2007-01-08 at 17:19 -0800, Mike Melanson wrote:
> Questions from a xine co-dev...
> 
> 
> am i rightly assuming that dv.c is buggy because it doesn't call
> release_buffer() on dvvideo_close()?

  I'm not sure I understand the intricate details of buffer management
well enough but it looks like lots of codecs are that way -- they
do: 
    if(s->picture.data[0])
        avctx->release_buffer(avctx, &s->picture);

in the context of *_decode_frame() and they don't (are not supposed to?)
care about *_close().

  Am I missing something here ?

Thanks,
Roman.






More information about the ffmpeg-devel mailing list