Mercurial > mplayer.hg
diff stream/stream_tv.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 | 5a62af75e64c |
children | 7766530caa76 |