diff parser-mecmd.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 c1a3f1bbba26
children
line wrap: on
line diff