[FFmpeg-devel] [PATCH] filtfmts: Avoid null pointer dereferences
Carl Eugen Hoyos
cehoyos at ag.or.at
Fri Apr 3 10:40:01 CEST 2015
Himangi Saraogi <himangi774 <at> gmail.com> writes:
{ \
> - if (filter_ctx->inout##puts[i]->type == AVMEDIA_TYPE_VIDEO) { \
> + if (filter_ctx->inout##puts[i]) { \
> + if (filter_ctx->inout##puts[i]->type == AVMEDIA_TYPE_VIDEO) { \
Please resend your patch without the re-indentation.
You can send a cosmetic-only patch separately.
Carl Eugen
More information about the ffmpeg-devel
mailing list