Michael Niedermayer <[EMAIL PROTECTED]> added the comment:

On Fri, Nov 16, 2007 at 07:07:16PM -0000, heydowns wrote:
> The null pointer causing the failure is last_picture.data (or next, 
> presumably).
> 
> Looks like its seeking to a B-type picture, but doesn't have last/next 
> pictures
> to work from. last_picture_ptr, next_picture_ptr are non null.  Looking at
> mpeg12 decoder, flush nulls out last and next picture pointers.  H264 decoder
> doesn't (it doesn't use these internall).
> 
> The attached fixes it here.  Since h264 is using mpegvideo's picture 
> management
> and such, seems reasonable to call mpegvideo's flush as well.

yes, patch ok

[...]

______________________________________________________
FFmpeg issue tracker <[EMAIL PROTECTED]>
<https://roundup.mplayerhq.hu/roundup/ffmpeg/issue189>
______________________________________________________

Reply via email to