ffmpeg: avoid NULL dereference with filters.