mirror of https://git.ffmpeg.org/ffmpeg.git
segfault fix
Originally committed as revision 3017 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
137c8468e8
commit
e4a1fdfdee
|
@ -716,6 +716,7 @@ assert(s->current_picture.pict_type == s->pict_type);
|
||||||
ff_print_debug_info(s, pict);
|
ff_print_debug_info(s, pict);
|
||||||
} else {
|
} else {
|
||||||
*pict= *(AVFrame*)&s->last_picture;
|
*pict= *(AVFrame*)&s->last_picture;
|
||||||
|
if(pict)
|
||||||
ff_print_debug_info(s, pict);
|
ff_print_debug_info(s, pict);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue