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:
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