1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-08-18 07:15:04 +02:00

segfault fix

Originally committed as revision 3017 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-04-16 01:02:39 +00:00
parent 137c8468e8
commit e4a1fdfdee

View File

@ -716,7 +716,8 @@ assert(s->current_picture.pict_type == s->pict_type);
ff_print_debug_info(s, pict);
} else {
*pict= *(AVFrame*)&s->last_picture;
ff_print_debug_info(s, pict);
if(pict)
ff_print_debug_info(s, pict);
}
/* Return the Picture timestamp as the frame number */