diff libass/ass_parse.c @ 33260:e180057420a5

Fix segfault with -lavdopts vstats and some codecs. The vstats option relies on avctx->coded_frame been filled. Unfortunately not all codecs do that (e.g. VP8) thus causing NULL dereference. FFmpeg code seem to always check if coded_frame != NULL, so we should do the same.
author iive
date Sun, 01 May 2011 20:21:00 +0000
parents ac6e48baa03d
children 88eebbbbd6a0
line wrap: on
line diff