1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +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 */