comparison pnm_loader.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 58232aeb3fdd
children 08a90b0e44e1
comparison
equal deleted inserted replaced
33259:04dc3e55cd90 33260:e180057420a5