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:
parent
137c8468e8
commit
e4a1fdfdee
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user